aboutsummaryrefslogtreecommitdiff
path: root/dev/perl/perl-devel-dprof/perl-devel-dprof.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev/perl/perl-devel-dprof/perl-devel-dprof.SlackBuild')
-rwxr-xr-xdev/perl/perl-devel-dprof/perl-devel-dprof.SlackBuild6
1 files changed, 2 insertions, 4 deletions
diff --git a/dev/perl/perl-devel-dprof/perl-devel-dprof.SlackBuild b/dev/perl/perl-devel-dprof/perl-devel-dprof.SlackBuild
index bdcf0187..3aa36a37 100755
--- a/dev/perl/perl-devel-dprof/perl-devel-dprof.SlackBuild
+++ b/dev/perl/perl-devel-dprof/perl-devel-dprof.SlackBuild
@@ -14,7 +14,7 @@
# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
# Place - Suite 330, Boston, MA 02111-1307, USA
#
-# slackbuild for perl-devel-dprof, by rha
+# slackbuild for perl-devel-dprof, by Silvio Rhatto
# requires:
# tested: perl-devel-dprof-19990108
#
@@ -99,10 +99,8 @@ make $NUMJOBS || exit $ERROR_MAKE
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