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