aboutsummaryrefslogtreecommitdiff
path: root/dev/perl/perl-module-build/perl-module-build.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev/perl/perl-module-build/perl-module-build.SlackBuild')
-rwxr-xr-xdev/perl/perl-module-build/perl-module-build.SlackBuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/dev/perl/perl-module-build/perl-module-build.SlackBuild b/dev/perl/perl-module-build/perl-module-build.SlackBuild
index f0d7ce47..49587b38 100755
--- a/dev/perl/perl-module-build/perl-module-build.SlackBuild
+++ b/dev/perl/perl-module-build/perl-module-build.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