index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Aaron Griffin <aaron@archlinux.org> | 2006-12-21 01:53:40 +0000 |
---|---|---|
committer | Aaron Griffin <aaron@archlinux.org> | 2006-12-21 01:53:40 +0000 |
commit | 74e347f09bd62872de84b431dcf029090931d199 (patch) | |
tree | 966f7b6b2a35ccaecb61b2119f28a2bad2340a96 /scripts/makeworld | |
parent | b1fbcd3ab5cf16b668cfc72d90223f48a329605b (diff) |
-rwxr-xr-x | scripts/makeworld | 68 |
diff --git a/scripts/makeworld b/scripts/makeworld index f9a58f25..9182680a 100755 --- a/scripts/makeworld +++ b/scripts/makeworld @@ -58,10 +58,10 @@ fi MAKEPKG_OPTS= for arg in $*; do case $arg in -# pacman + # pacman --noconfirm) MAKEPKG_OPTS="$MAKEPKG_OPTS --noconfirm" ;; --noprogressbar) MAKEPKG_OPTS="$MAKEPKG_OPTS --noprogressbar" ;; -# makepkg + # makepkg --clean) MAKEPKG_OPTS="$MAKEPKG_OPTS -c" ;; --install) MAKEPKG_OPTS="$MAKEPKG_OPTS -i" ;; --syncdeps) MAKEPKG_OPTS="$MAKEPKG_OPTS -s" ;; @@ -71,40 +71,40 @@ for arg in $*; do --force) MAKEPKG_OPTS="$MAKEPKG_OPTS -f" ;; --rmdeps) MAKEPKG_OPTS="$MAKEPKG_OPTS -r" ;; --help) - usage - exit 0 - ;; + usage + exit 0 + ;; --*) - usage - exit 1 - ;; + usage + exit 1 + ;; -*) - while getopts "chisSbdfr-" opt; do - case $opt in - c) MAKEPKG_OPTS="$MAKEPKG_OPTS -c" ;; - i) MAKEPKG_OPTS="$MAKEPKG_OPTS -i" ;; - s) MAKEPKG_OPTS="$MAKEPKG_OPTS -s" ;; - S) MAKEPKG_OPTS="$MAKEPKG_OPTS -S" ;; - b) MAKEPKG_OPTS="$MAKEPKG_OPTS -b" ;; - d) MAKEPKG_OPTS="$MAKEPKG_OPTS -d" ;; - f) MAKEPKG_OPTS="$MAKEPKG_OPTS -f" ;; - r) MAKEPKG_OPTS="$MAKEPKG_OPTS -r" ;; - h) - usage - exit 0 - ;; - -) - OPTIND=0 - break - ;; - esac - done - ;; + while getopts "chisSbdfr-" opt; do + case $opt in + c) MAKEPKG_OPTS="$MAKEPKG_OPTS -c" ;; + i) MAKEPKG_OPTS="$MAKEPKG_OPTS -i" ;; + s) MAKEPKG_OPTS="$MAKEPKG_OPTS -s" ;; + S) MAKEPKG_OPTS="$MAKEPKG_OPTS -S" ;; + b) MAKEPKG_OPTS="$MAKEPKG_OPTS -b" ;; + d) MAKEPKG_OPTS="$MAKEPKG_OPTS -d" ;; + f) MAKEPKG_OPTS="$MAKEPKG_OPTS -f" ;; + r) MAKEPKG_OPTS="$MAKEPKG_OPTS -r" ;; + h) + usage + exit 0 + ;; + -) + OPTIND=0 + break + ;; + esac + done + ;; *) - dest=$arg - shift - break - ;; + dest=$arg + shift + break + ;; esac shift if [ "$dest" != "" ]; then @@ -155,3 +155,5 @@ echo " started: $sd" >>$toplevel/build.log echo " finished: $ed" >>$toplevel/build.log exit 0 + +# vim: set ts=2 sw=2 noet: |