summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/abs2
-rwxr-xr-xscripts/gensync2
-rwxr-xr-xscripts/makepkg9
-rwxr-xr-xscripts/makeworld2
4 files changed, 9 insertions, 6 deletions
diff --git a/scripts/abs b/scripts/abs
index 10e9b9c4..37e39be8 100755
--- a/scripts/abs
+++ b/scripts/abs
@@ -1,6 +1,6 @@
#!/bin/bash
-myver='2.1'
+myver='2.2'
ABS_ROOT=/usr/abs
usage() {
diff --git a/scripts/gensync b/scripts/gensync
index 4b0f882d..841fae8d 100755
--- a/scripts/gensync
+++ b/scripts/gensync
@@ -1,6 +1,6 @@
#!/bin/bash
-myver='2.1'
+myver='2.2'
usage() {
echo "gensync $myver"
diff --git a/scripts/makepkg b/scripts/makepkg
index 35e7dac9..7304987d 100755
--- a/scripts/makepkg
+++ b/scripts/makepkg
@@ -1,6 +1,6 @@
#!/bin/bash
-myver='2.1'
+myver='2.2'
startdir=`pwd`
[ -f /etc/makepkg.conf ] && source /etc/makepkg.conf
@@ -138,6 +138,7 @@ for netfile in ${source[@]}; do
fi
mkdir -p /var/cache/pacman/src && cp $file /var/cache/pacman/src
fi
+ unset cmd
case $file in
*.tar.gz|*.tar.Z|*.tgz)
cmd="tar --use-compress-program=gzip -xf $file" ;;
@@ -150,8 +151,10 @@ for netfile in ${source[@]}; do
*.gz)
cmd="gunzip $file" ;;
esac
- msg "==> $cmd"
- $cmd
+ if [ "$cmd" != "" ]; then
+ msg "==> $cmd"
+ $cmd
+ fi
done
# check for existing pkg directory
diff --git a/scripts/makeworld b/scripts/makeworld
index 448dbc49..7cf04a76 100755
--- a/scripts/makeworld
+++ b/scripts/makeworld
@@ -1,7 +1,7 @@
#!/bin/bash
toplevel=`pwd`
-version="2.1"
+version="2.2"
usage() {
echo "makeworld version $version"