diff options
Diffstat (limited to 'dev/perl/perl-html-stripscripts/perl-html-stripscripts.SlackBuild')
-rwxr-xr-x | dev/perl/perl-html-stripscripts/perl-html-stripscripts.SlackBuild | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/dev/perl/perl-html-stripscripts/perl-html-stripscripts.SlackBuild b/dev/perl/perl-html-stripscripts/perl-html-stripscripts.SlackBuild index dc33052d..a1d8e32b 100755 --- a/dev/perl/perl-html-stripscripts/perl-html-stripscripts.SlackBuild +++ b/dev/perl/perl-html-stripscripts/perl-html-stripscripts.SlackBuild @@ -14,7 +14,7 @@ # this program; if not, write to the Free Software Foundation, Inc., 59 Temple # Place - Suite 330, Boston, MA 02111-1307, USA # -# slackbuild for perl-html-stripscripts, by rha +# slackbuild for perl-html-stripscripts, by Silvio Rhatto # requires: perl-html-parser # tested: perl-html-stripscripts-1.04 # @@ -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 |