aboutsummaryrefslogtreecommitdiff
path: root/dev/perl/perl-archive-zip
diff options
context:
space:
mode:
authorrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2008-04-23 02:52:55 +0000
committerrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2008-04-23 02:52:55 +0000
commitb907878e1daeab3db1f743ba0d2a060877941840 (patch)
treeab6e5731d7640223c25e92f778e7c38212f1950c /dev/perl/perl-archive-zip
parent5b1e67dba7f479385e323efe2898ac74593e3b46 (diff)
downloadslackbuilds-b907878e1daeab3db1f743ba0d2a060877941840.tar.gz
slackbuilds-b907878e1daeab3db1f743ba0d2a060877941840.tar.bz2
regenerated perl SlackBuilds from mkbuilds
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@1744 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'dev/perl/perl-archive-zip')
-rwxr-xr-xdev/perl/perl-archive-zip/perl-archive-zip.SlackBuild4
1 files changed, 1 insertions, 3 deletions
diff --git a/dev/perl/perl-archive-zip/perl-archive-zip.SlackBuild b/dev/perl/perl-archive-zip/perl-archive-zip.SlackBuild
index 27621966..bc0778f1 100755
--- a/dev/perl/perl-archive-zip/perl-archive-zip.SlackBuild
+++ b/dev/perl/perl-archive-zip/perl-archive-zip.SlackBuild
@@ -99,10 +99,8 @@ make $NUMJOBS || exit $ERROR_MAKE
make install DESTDIR="$PKG" || exit $ERROR_INSTALL
# Fix .packlist
-cd $PKG
-
string="`echo $PKG | sed -e 's/\//\\\\\//g'`"
-for file in `find -name .packlist`; do
+for file in `find $PKG -name .packlist`; do
sed -e "s/^$string//g" $file > $file.tmp
mv $file.tmp $file
done