From ae8a94d2b5e2c9c82c24229228aa2f594acdb6f9 Mon Sep 17 00:00:00 2001 From: rhatto Date: Mon, 4 Dec 2006 19:13:17 +0000 Subject: 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 --- dev/perl/perl-array-compare/perl-array-compare.SlackBuild | 6 ++++-- dev/perl/perl-pathtools/perl-pathtools.SlackBuild | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) (limited to 'dev') 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 -- cgit v1.2.3