diff options
Diffstat (limited to 'dev/perl/perl-dbd-mysql/perl-dbd-mysql.SlackBuild')
-rwxr-xr-x | dev/perl/perl-dbd-mysql/perl-dbd-mysql.SlackBuild | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/dev/perl/perl-dbd-mysql/perl-dbd-mysql.SlackBuild b/dev/perl/perl-dbd-mysql/perl-dbd-mysql.SlackBuild index dc12ce84..4f5c0559 100755 --- a/dev/perl/perl-dbd-mysql/perl-dbd-mysql.SlackBuild +++ b/dev/perl/perl-dbd-mysql/perl-dbd-mysql.SlackBuild @@ -87,8 +87,10 @@ cd $TMP/package-$PACKAGE # we need to fix .packlist string="`echo $TMP/package-$PACKAGE | sed -e 's/\//\\\\\//g'`" -find . -name .packlist -exec sed -e "s/^$string//g" {} \; > packlist -find . -name .packlist -exec mv packlist {} \; +for file in `find -name .packlist`; do + sed -e "s/^$string//g" $file > $file.tmp + mv $file.tmp $file +done mkdir install |