From 14e8f74b61fd8e6d172af5e28408699c366837f4 Mon Sep 17 00:00:00 2001 From: rhatto Date: Mon, 4 Dec 2006 19:15:43 +0000 Subject: perl modules: fix in packlist git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@789 370017ae-e619-0410-ac65-c121f96126d4 --- dev/perl/perl-test-warn/perl-test-warn.SlackBuild | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'dev/perl/perl-test-warn/perl-test-warn.SlackBuild') 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 -- cgit v1.2.3