summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhang Qiang <qiang.z.zhang@intel.com>2012-11-17 17:58:40 +0800
committerZhang Qiang <qiang.z.zhang@intel.com>2012-11-21 08:59:57 +0800
commitcd50327856c34cafbf5b74aee3be5221a738ad33 (patch)
tree48ed794a72def77788d4010ded7b902035cc7690
parentdc065e1fdaca94023373aa5cadadc22747fdd521 (diff)
downloadobs-build-cd50327856c34cafbf5b74aee3be5221a738ad33.tar.gz
obs-build-cd50327856c34cafbf5b74aee3be5221a738ad33.tar.bz2
obs-build-cd50327856c34cafbf5b74aee3be5221a738ad33.zip
fix --configdir option parse issue
Change-Id: If111f4e1b9c99179a097168db627127c645b7132
-rwxr-xr-xbuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/build b/build
index 9cbd569..6169b26 100755
--- a/build
+++ b/build
@@ -1069,7 +1069,9 @@ while test -n "$1"; do
USEUSEDFORBUILD="--useusedforbuild"
;;
*-configdir)
+ needarg
CONFIG_DIR="$ARG"
+ shift
;;
*-list*state)
LIST_STATE=true