]> gitweb.fluxo.info Git - slackbuilds.git/commitdiff
perl-compress-zlib small fix
authorrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>
Sun, 3 Dec 2006 20:43:45 +0000 (20:43 +0000)
committerrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>
Sun, 3 Dec 2006 20:43:45 +0000 (20:43 +0000)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@752 370017ae-e619-0410-ac65-c121f96126d4

dev/perl/perl-compress-zlib/perl-compress-zlib.build

index 7c60de7ef3e069ea4b095048b274165192265719..a859d6f159b8386ac6ce0e4f25596737be098a6b 100755 (executable)
@@ -53,7 +53,8 @@ fi
 RTOOL="wget"
 PACKAGE_EXT="gz"
 SRC="$PACKAGE-$VERSION.tar.$PACKAGE_EXT"
-SRC="`echo $NAME | sed -e 's/::/-/g'`-$VERSION.tar.gz"
+FILE_NAME="`echo $NAME | sed -e 's/::/-/g'`"
+SRC="$FILE_NAME-$VERSION.tar.gz"
 URL="http://search.cpan.org/CPAN/authors/id/P/PM/PMQS/$SRC"
 
 SRC_DIR="$SRC_DIR/$PACKAGE"
@@ -73,7 +74,7 @@ if [ ! -d "$TMP" ]; then
 fi
 
 tar xvf $SRC_DIR/$SRC || exit $ERROR_TAR
-cd $PACKAGE-$VERSION
+cd $FILE_NAME-$VERSION
 
 # config and install!
 mkdir -p /install