From 623acfaa9e77a20dff1949af126fa5e9edc9c14a Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Mon, 23 Feb 2009 15:04:24 -0800 Subject: Change makechrootpkg -i arg to -I This way we don't conflict with makepkg's -i, which could be useful to us Signed-off-by: Aaron Griffin --- makechrootpkg | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'makechrootpkg') diff --git a/makechrootpkg b/makechrootpkg index 8fa720d..43a2253 100755 --- a/makechrootpkg +++ b/makechrootpkg @@ -23,7 +23,7 @@ APPNAME=$(basename "${0}") usage () { - echo "usage ${APPNAME} [-hcui] [-r CHROOT_SHELL] [--] [makepkg args]" + echo "usage ${APPNAME} [-hcuI] [-r CHROOT_SHELL] [--] [makepkg args]" echo " Run this script in a PKGBUILD dir to build a package inside a" echo " clean chroot. All unrecognized arguments passed to this script" echo " will be passed to makepkg." @@ -48,14 +48,14 @@ usage () echo "-u Update the rw layer of the chroot before building" echo " This is useful for rebuilds without dirtying the pristine" echo " chroot" - echo "-i Install a package into the rw layer of the chroot" + echo "-I Install a package into the rw layer of the chroot" exit 1 } -while getopts ':r:i:h:cu' arg; do +while getopts ':r:I:h:cu' arg; do case "${arg}" in r) chrootdir="$OPTARG" ;; - i) install_pkg="$OPTARG" ;; + I) install_pkg="$OPTARG" ;; u) update_first=1 ;; c) clean_first=1 ;; h|?) usage ;; -- cgit v1.2.3-70-g09d2