diff options
Diffstat (limited to 'dev/perl/perl-compress-raw-zlib')
-rwxr-xr-x | dev/perl/perl-compress-raw-zlib/perl-compress-raw-zlib.SlackBuild | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/dev/perl/perl-compress-raw-zlib/perl-compress-raw-zlib.SlackBuild b/dev/perl/perl-compress-raw-zlib/perl-compress-raw-zlib.SlackBuild index 5170ee07..b589ae0f 100755 --- a/dev/perl/perl-compress-raw-zlib/perl-compress-raw-zlib.SlackBuild +++ b/dev/perl/perl-compress-raw-zlib/perl-compress-raw-zlib.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 |