diff options
Diffstat (limited to 'dev/perl/perl-array-compare/perl-array-compare.SlackBuild')
-rwxr-xr-x | dev/perl/perl-array-compare/perl-array-compare.SlackBuild | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/dev/perl/perl-array-compare/perl-array-compare.SlackBuild b/dev/perl/perl-array-compare/perl-array-compare.SlackBuild index 7050f504..a2d3f364 100755 --- a/dev/perl/perl-array-compare/perl-array-compare.SlackBuild +++ b/dev/perl/perl-array-compare/perl-array-compare.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 |