From bced48cecdabec12feb75f320a51650266ff3da2 Mon Sep 17 00:00:00 2001 From: Jason Chu Date: Sun, 4 Nov 2007 14:56:43 -0800 Subject: Allow optional params to makechrootpkg (to actually accept extra makepkg args) --- makechrootpkg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'makechrootpkg') 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 ;; -- cgit v1.2.3-24-g4f1b