aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYongqin Liu <yongqin.liu@linaro.org>2016-07-08 12:59:42 +0800
committerYongqin Liu <yongqin.liu@linaro.org>2016-07-08 12:59:42 +0800
commit7aad212c5ee4c7002e5ded5b33bcbe20ac51f5d3 (patch)
tree35619d8744291a5284e572de74e6e64fbc4da928
parenta95cc2f25b6956f31ef1665c97ce292780e98e2b (diff)
downloadlinaro-android-build-tools-7aad212c5ee4c7002e5ded5b33bcbe20ac51f5d3.tar.gz
create-user-build-script: fix problem for mirror support
missed to add the u: for getopts Change-Id: Ife2a64bb8082997f0759f383eb4cc03f66e2f4d1 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
-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 d73f9ff..d1e3c2c 100755
--- a/build-scripts/create-user-build-script
+++ b/build-scripts/create-user-build-script
@@ -56,7 +56,7 @@ usage()
exit 1
}
-while getopts "${USAGE_OPTOVERLAY}d:l:hty" optn; do
+while getopts "${USAGE_OPTOVERLAY}d:l:u:hty" optn; do
case \${optn} in
${USAGE_OPTHANDLER}
d ) DIR=\${OPTARG};;