aboutsummaryrefslogtreecommitdiff
path: root/build-scripts
diff options
context:
space:
mode:
authorAmit Pundir <amit.pundir@linaro.org>2013-05-28 12:43:31 +0530
committerAmit Pundir <amit.pundir@linaro.org>2013-05-28 12:43:31 +0530
commit052a6f0c0658f9d7b3068dea8083112908e78e14 (patch)
tree920bc9ca595b884c7b3949249ca63e60d458daba /build-scripts
parente8c5d23b35bdc66ab57c236609ffb29b0ece4471 (diff)
create-user-build-script: use absolute path of pinned-manifest file else it will fail to copy if a user specifies relative path
Diffstat (limited to 'build-scripts')
-rwxr-xr-xbuild-scripts/create-user-build-script2
1 files changed, 1 insertions, 1 deletions
diff --git a/build-scripts/create-user-build-script b/build-scripts/create-user-build-script
index 32030a8..64f56ea 100755
--- a/build-scripts/create-user-build-script
+++ b/build-scripts/create-user-build-script
@@ -17,7 +17,7 @@ if [ -n "$SOURCE_OVERLAY" ]; then
USAGE_SUM="'Usage: \$0 -m <manifest.xml> -o <overlay.tar> [ -t -d directory -l login ]'"
USAGE_OVERLAY="'\\n -m <manifest> If -t is not used, then using a browser with cookies you\\n must download the pinned manifest from:\\n $PINNED_MANIFEST_URL\\n -o The path to the vendor required overlay.\\n Can be downloaded from http://snapshots.linaro.org/android/binaries/$SOURCE_OVERLAY\\n'"
USAGE_OPTOVERLAY="m:o:"
- USAGE_OPTHANDLER="o ) SOURCE_OVERLAY=\$OPTARG; SOURCE_OVERLAY_OPTIONAL=0;; m ) MANIFEST=\$OPTARG;;"
+ USAGE_OPTHANDLER="o ) SOURCE_OVERLAY=\$OPTARG; SOURCE_OVERLAY_OPTIONAL=0;; m ) MANIFEST=\`readlink -f \$OPTARG\`;;"
else
USAGE_SUM="'Usage: \$0 [ -t -d directory -l login ]'"
fi