diff options
author | rhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4> | 2006-12-04 19:15:43 +0000 |
---|---|---|
committer | rhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4> | 2006-12-04 19:15:43 +0000 |
commit | 14e8f74b61fd8e6d172af5e28408699c366837f4 (patch) | |
tree | 08ef0aded7a107f294e6e18d2f762d3b542610d4 /dev/perl/perl-module-build/perl-module-build.SlackBuild | |
parent | ae8a94d2b5e2c9c82c24229228aa2f594acdb6f9 (diff) | |
download | slackbuilds-14e8f74b61fd8e6d172af5e28408699c366837f4.tar.gz slackbuilds-14e8f74b61fd8e6d172af5e28408699c366837f4.tar.bz2 |
perl modules: fix in packlist
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@789 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'dev/perl/perl-module-build/perl-module-build.SlackBuild')
-rwxr-xr-x | dev/perl/perl-module-build/perl-module-build.SlackBuild | 6 |
1 files changed, 4 insertions, 2 deletions
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 |