diff options
author | Aaron Griffin <aaron@archlinux.org> | 2007-01-17 06:29:54 +0100 |
---|---|---|
committer | Aaron Griffin <aaron@archlinux.org> | 2007-01-17 06:29:54 +0100 |
commit | aea6626fded11f3395ec509635ffec5b5f5d3436 (patch) | |
tree | 4bcc12c23e753dd2902f67d9113c9e8350824315 | |
parent | c6f56aee57a6f85843b218ace485b5702ba5a7ea (diff) | |
download | pacman-aea6626fded11f3395ec509635ffec5b5f5d3436.tar.gz pacman-aea6626fded11f3395ec509635ffec5b5f5d3436.tar.xz |
Dan McGee <dpmcgee@gmail.com>
* 'unset' fixes
* typo in "dependecy"
* indent fixes
-rwxr-xr-x | scripts/makepkg | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/scripts/makepkg b/scripts/makepkg index 0401c48d..7805822e 100755 --- a/scripts/makepkg +++ b/scripts/makepkg @@ -265,12 +265,12 @@ removedeps() { msg "Removing installed dependencies..." if [ "$INFAKEROOT" = "1" ]; then export FAKEROOTKEY2=$FAKEROOTKEY - unset $FAKEROOTKEY + unset FAKEROOTKEY fi sudo pacman3 $PACMAN_OPTS -R $makedeplist $deplist if [ "$INFAKEROOT" = "1" ]; then export FAKEROOTKEY=$FAKEROOTKEY2 - unset $FAKEROOTKEY2 + unset FAKEROOTKEY2 fi fi } @@ -516,7 +516,7 @@ msg "Making package: $pkgname $pkgver-$pkgrel ($(date))" unset deplist makedeplist # fix flyspray bug #5973 if [ "$NODEPS" = "1" -o "$GENINTEG" = "1" -o "$NOBUILD" = "1" -o "$REPKG" = "1" ]; then - warning "skipping dependecy checks" + warning "skipping dependency checks" elif [ $(type -p pacman) ]; then msg "Checking Runtime Dependencies..." deplist=$(checkdeps ${depends[@]}) @@ -811,11 +811,11 @@ find $startdir/pkg/{usr{,/local},opt/*}/man -type f 2>/dev/null | while read i ; if [ "$ext" != "gz" -a "$ext" != "bz2" ]; then # update symlinks to this manpage find $startdir/pkg/{usr{,/local},opt/*}/man -lname "$fn" 2> /dev/null | while read ln ; do - rm -f "$ln" - ln -sf "${fn}.gz" "${ln}.gz" - done - # compress the original - gzip -9 "$i" + rm -f "$ln" + ln -sf "${fn}.gz" "${ln}.gz" + done + # compress the original + gzip -9 "$i" fi done |