summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAndrew Fyfe <andrew@neptune-one.net>2007-06-13 10:48:22 +0100
committerDan McGee <dan@archlinux.org>2007-06-13 09:32:09 -0400
commit7bd4486ebd15ba9cca0ee3e6a2c2ddc88ff104dc (patch)
treecf2593ca76355429725183b0917885c6cff6d431 /scripts
parentaf813a8badd71c591a8c29d9bad1710ae3b2e945 (diff)
downloadpacman-7bd4486ebd15ba9cca0ee3e6a2c2ddc88ff104dc.tar.xz
scripts/makepkg.in: Forgot the fakeroot switch when changing to GNU getopt.
Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/makepkg.in5
1 files 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