summaryrefslogtreecommitdiff
path: root/makechrootpkg
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 /makechrootpkg
parente782cbd00b84f2a60a713c097be28044d5d8c37d (diff)
Allow optional params to makechrootpkg (to actually accept extra makepkg args)
Diffstat (limited to 'makechrootpkg')
-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 ;;