commit | 33f0ea6d2703aa1e8daaf30d72507acc5cbe17a3 | [log] [tgz] |
---|---|---|
author | Jacob Whatley <jake@whatley.co> | Sun Aug 27 23:21:51 2017 +0200 |
committer | Gerrit Code Review <gerrit2@gerrit.omnirom.org> | Sun Aug 27 23:21:51 2017 +0200 |
tree | 2d2f0a05809458c7c0da4ab08674dcf6d7c43e16 | |
parent | 6e0d9afeae2bf94f0379c2c70f1e6e5b64ad7683 [diff] | |
parent | 7da4a1b642c9d34f72bea60c7e8036f4e68f0fb1 [diff] |
Merge "extract_files: Add support for paths without system/" into android-8.0
diff --git a/build/tools/extract_utils.sh b/build/tools/extract_utils.sh index bd8312c..dd195ee 100755 --- a/build/tools/extract_utils.sh +++ b/build/tools/extract_utils.sh
@@ -873,6 +873,8 @@ TARGET="$FROM" OUTPUT_DIR="$OUTPUT_DIR/rootfs" TMP_DIR="$TMP_DIR/rootfs" + elif [ -f "$SRC/$FILE" ] && [ "$SRC" != "adb" ]; then + TARGET="$FROM" else TARGET="system/$FROM" FILE="system/$FILE"