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