aboutsummaryrefslogtreecommitdiff
path: root/trunk/mkbuild
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2008-04-23 02:53:12 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2008-04-23 02:53:12 +0000
commit39171bed085d1510864f2d8863eac75de5141029 (patch)
treea9280c21aa54cccd7dac9464d1f0c5aecbfe6b6a /trunk/mkbuild
parent5010f43221e78278061ec17192a9206ac9a3bd05 (diff)
downloadsimplepkg-39171bed085d1510864f2d8863eac75de5141029.tar.gz
simplepkg-39171bed085d1510864f2d8863eac75de5141029.tar.bz2
see CHANGELOG for details
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@497 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'trunk/mkbuild')
-rw-r--r--trunk/mkbuild/perl.mkSlackBuild4
1 files changed, 1 insertions, 3 deletions
diff --git a/trunk/mkbuild/perl.mkSlackBuild b/trunk/mkbuild/perl.mkSlackBuild
index 2a8c53d..130e2cd 100644
--- a/trunk/mkbuild/perl.mkSlackBuild
+++ b/trunk/mkbuild/perl.mkSlackBuild
@@ -212,10 +212,8 @@ make test
make install DESTDIR="$PKG" || exit $ERROR_INSTALL
# Fix .packlist
-cd $PKG
-
string="`echo $PKG | sed -e 's/\//\\\\\//g'`"
-for file in `find -name .packlist`; do
+for file in `find $PKG -name .packlist`; do
sed -e "s/^$string//g" $file > $file.tmp
mv $file.tmp $file
done