aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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