From 7bd4486ebd15ba9cca0ee3e6a2c2ddc88ff104dc Mon Sep 17 00:00:00 2001 From: Andrew Fyfe Date: Wed, 13 Jun 2007 10:48:22 +0100 Subject: scripts/makepkg.in: Forgot the fakeroot switch when changing to GNU getopt. Signed-off-by: Andrew Fyfe --- scripts/makepkg.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/makepkg.in b/scripts/makepkg.in index cdd266ab..001179d0 100644 --- a/scripts/makepkg.in +++ b/scripts/makepkg.in @@ -1016,7 +1016,7 @@ fi # Parse Command Line Options. -OPT_SHORT="bcCdefghiLmop:rRsSV" +OPT_SHORT="bcCdefFghiLmop:rRsSV" OPT_LONG="asroot,builddeps,clean,cleancache,nodeps,noextract,force,geninteg,help,install,log" OPT_LONG="$OPT_LONG,nocolor,nobuild,rmdeps,repackage,source,syncdeps,usesudo,version" # Pacman Options @@ -1044,6 +1044,7 @@ while true; do -d|--nodeps) NODEPS=1 ;; -e|--noextract) NOEXTRACT=1 ;; -f|--force) FORCE=1 ;; + -F) INFAKEROOT=1 ;; -g|--geninteg) GENINTEG=1 ;; -i|--install) INSTALL=1 ;; -L|--log) LOGGING=1 ;; @@ -1062,7 +1063,7 @@ while true; do -h|--help) usage; exit 0 ;; # E_OK -V|--version) version; exit 0 ;; # E_OK - --) OPT_IND=0; shift; break; + --) OPT_IND=0; shift; break;; *) usage; exit 1 ;; # E_INVALID_OPTION esac shift -- cgit v1.2.3-24-g4f1b