]> gitweb.fluxo.info Git - slackbuilds.git/commitdiff
patches/file: small fixes
authorrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>
Thu, 3 May 2007 14:49:55 +0000 (14:49 +0000)
committerrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>
Thu, 3 May 2007 14:49:55 +0000 (14:49 +0000)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@1200 370017ae-e619-0410-ac65-c121f96126d4

patches/file/file.SlackBuild

index 431d7bd28e23326ce3310ded094847f62fd60d2f..636426e185de3ee8f8451eab1eb9c8bdc70892d9 100755 (executable)
@@ -59,13 +59,13 @@ if [ "$RTOOL" == "wget" ] && [ ! -f "$SRC_DIR/$SRC" ]; then
 fi
 
 TMP="$TMP/$PACKAGE"
-PKG=$TMP/package-file
+PKG=$TMP/package-$PACKAGE
 rm -rf $TMP
 mkdir -p $PKG
 cd $TMP
 
-tar xjvf $CWD/file-$VERSION.tar.bz2 || exit $ERROR_TAR
-cd file-$VERSION
+tar xjvf $CWD/$PACKAGE-$VERSION.tar.$PACKAGE_EXT || exit $ERROR_TAR
+cd $PACKAGE-$VERSION
 
 if [ "$VERSION" == "4.20" ]; then
   cd src