summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/makepkg16
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