summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Chu <jchu@xentac.net>2007-11-04 14:56:43 -0800
committerJason Chu <jchu@xentac.net>2007-11-04 14:56:43 -0800
commitbced48cecdabec12feb75f320a51650266ff3da2 (patch)
treeaaa73033c36431e307534e9dcbb0ffe23f360588
parente782cbd00b84f2a60a713c097be28044d5d8c37d (diff)
downloaddevtools32-bced48cecdabec12feb75f320a51650266ff3da2.tar.xz
Allow optional params to makechrootpkg (to actually accept extra makepkg args)
-rwxr-xr-xmakechrootpkg2
1 files changed, 1 insertions, 1 deletions
diff --git a/makechrootpkg b/makechrootpkg
index 52db6f5..879d932 100755
--- a/makechrootpkg
+++ b/makechrootpkg
@@ -47,7 +47,7 @@ usage ()
exit 1
}
-while getopts 'c:h' arg; do
+while getopts ':c:h' arg; do
case "${arg}" in
c) chrootdir="$OPTARG" ;;
h|?) usage ;;