From: rhatto Date: Mon, 4 Dec 2006 19:13:17 +0000 (+0000) Subject: perl-array-compare and perl-pathtools: fix in packlist X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=ae8a94d2b5e2c9c82c24229228aa2f594acdb6f9;p=slackbuilds.git 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 --- 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