summaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:33:50 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:33:50 -0400
commit0a1c8a13dc14c5cdfe682e705e8c5d80140fa969 (patch)
tree4708d7c091733d86cef387570b83982d9e77871a /development
parentb18189353a50b00d35c0df8c20ed6114a3aa66d0 (diff)
downloadslackbuilds-0a1c8a13dc14c5cdfe682e705e8c5d80140fa969.tar.gz
development/p4v: Fixed for bash4.
Diffstat (limited to 'development')
-rwxr-xr-xdevelopment/p4v/p4v.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/development/p4v/p4v.SlackBuild b/development/p4v/p4v.SlackBuild
index 51840786b7..2af33aa1fa 100755
--- a/development/p4v/p4v.SlackBuild
+++ b/development/p4v/p4v.SlackBuild
@@ -65,12 +65,8 @@ mv lib/p4v $PKG/usr/lib${LIBDIRSUFFIX}/p4v
sed -i "s%prefix/lib/%prefix/lib${LIBDIRSUFFIX}/%g" $PKG/usr/bin/$PRGNAM
sed -i "s%prefix/lib/%prefix/lib${LIBDIRSUFFIX}/%g" $PKG/usr/bin/p4merge
-( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null || true
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null || true
-)
+find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild