aboutsummaryrefslogtreecommitdiff
path: root/dev/perl
diff options
context:
space:
mode:
authorrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2006-12-03 20:43:45 +0000
committerrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2006-12-03 20:43:45 +0000
commit999dd21c227a73e6c89cb799fb817947d41fbbf4 (patch)
tree79ce6a9ac57dc29217841d6506dadddb787e99bf /dev/perl
parent1e63107e81842a6314e4929aff496b1484663119 (diff)
downloadslackbuilds-999dd21c227a73e6c89cb799fb817947d41fbbf4.tar.gz
slackbuilds-999dd21c227a73e6c89cb799fb817947d41fbbf4.tar.bz2
perl-compress-zlib small fix
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@752 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'dev/perl')
-rwxr-xr-xdev/perl/perl-compress-zlib/perl-compress-zlib.build5
1 files changed, 3 insertions, 2 deletions
diff --git a/dev/perl/perl-compress-zlib/perl-compress-zlib.build b/dev/perl/perl-compress-zlib/perl-compress-zlib.build
index 7c60de7e..a859d6f1 100755
--- a/dev/perl/perl-compress-zlib/perl-compress-zlib.build
+++ b/dev/perl/perl-compress-zlib/perl-compress-zlib.build
@@ -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