diff options
Diffstat (limited to 'system/worker/worker.SlackBuild')
-rw-r--r-- | system/worker/worker.SlackBuild | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/system/worker/worker.SlackBuild b/system/worker/worker.SlackBuild index 128a98298f..84d5b13435 100644 --- a/system/worker/worker.SlackBuild +++ b/system/worker/worker.SlackBuild @@ -30,7 +30,7 @@ VERSION=2.13.1 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -CWD=`pwd` +CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -44,17 +44,16 @@ elif [ "$ARCH" = "s390" ]; then elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2" fi -H rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT rm -rf $TMP/$PRGNAM-$VERSION cd $TMP || exit 1 -tar -vxjf $CWD/$PRGNAM-$VERSION.tar.bz2 || exit 1 +tar -xjvf $CWD/$PRGNAM-$VERSION.tar.bz2 || exit 1 +cd $PRGNAM-$VERSION || exit 1 chown -R root:root . chmod -R u+rw,go+r-w,a-s . -cd $PRGNAM-$VERSION || exit 1 CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -76,8 +75,7 @@ gzip -9 $PKG/usr/man/man?/* gzip -9 $PKG/usr/man/fr/man?/* mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS README_LARGEFILES \ +cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS README_LARGEFILES \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |