diff options
6 files changed, 24 insertions, 12 deletions
diff --git a/dev/perl/perl-crypt-ciphersaber/perl-crypt-ciphersaber.SlackBuild b/dev/perl/perl-crypt-ciphersaber/perl-crypt-ciphersaber.SlackBuild index fd0a2ead..c8abe534 100755 --- a/dev/perl/perl-crypt-ciphersaber/perl-crypt-ciphersaber.SlackBuild +++ b/dev/perl/perl-crypt-ciphersaber/perl-crypt-ciphersaber.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 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 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 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 diff --git a/dev/perl/perl-test-warn/perl-test-warn.SlackBuild b/dev/perl/perl-test-warn/perl-test-warn.SlackBuild index ba48b921..c1077295 100755 --- a/dev/perl/perl-test-warn/perl-test-warn.SlackBuild +++ b/dev/perl/perl-test-warn/perl-test-warn.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 diff --git a/dev/perl/perl-tree-dag_node/perl-tree-dag_node.SlackBuild b/dev/perl/perl-tree-dag_node/perl-tree-dag_node.SlackBuild index 023b906e..cec003e9 100755 --- a/dev/perl/perl-tree-dag_node/perl-tree-dag_node.SlackBuild +++ b/dev/perl/perl-tree-dag_node/perl-tree-dag_node.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 |