aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2006-12-04 19:13:17 +0000
committerrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2006-12-04 19:13:17 +0000
commitae8a94d2b5e2c9c82c24229228aa2f594acdb6f9 (patch)
treed0cb3a6306a33ea7f97cc985e089eef66e8d1051
parent3a3ce9d26d0f99febdef7f3bf4ab05aba17c6d9b (diff)
downloadslackbuilds-ae8a94d2b5e2c9c82c24229228aa2f594acdb6f9.tar.gz
slackbuilds-ae8a94d2b5e2c9c82c24229228aa2f594acdb6f9.tar.bz2
perl-array-compare and perl-pathtools: fix in packlist
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@788 370017ae-e619-0410-ac65-c121f96126d4
-rwxr-xr-xdev/perl/perl-array-compare/perl-array-compare.SlackBuild6
-rwxr-xr-xdev/perl/perl-pathtools/perl-pathtools.SlackBuild6
2 files changed, 8 insertions, 4 deletions
diff --git a/dev/perl/perl-array-compare/perl-array-compare.SlackBuild b/dev/perl/perl-array-compare/perl-array-compare.SlackBuild
index b12b7783..b6535498 100755
--- a/dev/perl/perl-array-compare/perl-array-compare.SlackBuild
+++ b/dev/perl/perl-array-compare/perl-array-compare.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-pathtools/perl-pathtools.SlackBuild b/dev/perl/perl-pathtools/perl-pathtools.SlackBuild
index bb6f47b4..40df1ffc 100755
--- a/dev/perl/perl-pathtools/perl-pathtools.SlackBuild
+++ b/dev/perl/perl-pathtools/perl-pathtools.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