Commits

M0E-lnx  committed 4a901bc

jdk

  • Participants
  • Parent commits 03c7a74

Comments (0)

Files changed (1)

File var/vabs/jdk/src/jdk.SlackBuild

 fi
 
 CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
 PKG=$TMP/package-jdk
 OUTPUT=${OUTPUT:-"$CWD/.."}
-
+TMP=$OUTPUT/tmp
 if [ "$ARCH" = "x86_64" ]; then
   LIB_ARCH=amd64
   LIBDIRSUFFIX="64"
 if [ ! -e $CWD/$(basename $LINK) ]; then
 	wget -c --no-check-certificate $LINK
 fi
-tar xvf $CWD/$PRGNAM-$VERSION-linux-$SRC_ARCH.tar.gz
+tar xvf $CWD/$(basename $LINK) || exit 1#$PRGNAM-$VERSION-linux-$SRC_ARCH.tar.gz
 chown -R root.root $PKG
 find $PKG \
   \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \