summaryrefslogtreecommitdiff
path: root/graphics/svp/svp.SlackBuild
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:35:14 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:35:14 -0400
commit9f372158a6d64b4bfa838a1a2a3339f8e664e77f (patch)
tree3be189f15c335b3e0085c30edadec59fd03af755 /graphics/svp/svp.SlackBuild
parent56405150479d322e525ae8aafbb878ca48c68cea (diff)
downloadslackbuilds-9f372158a6d64b4bfa838a1a2a3339f8e664e77f.tar.gz
graphics/svp: Fixed for bash4.
Diffstat (limited to 'graphics/svp/svp.SlackBuild')
-rw-r--r--graphics/svp/svp.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/graphics/svp/svp.SlackBuild b/graphics/svp/svp.SlackBuild
index bb55c9711d..88ef5162b7 100644
--- a/graphics/svp/svp.SlackBuild
+++ b/graphics/svp/svp.SlackBuild
@@ -44,12 +44,8 @@ make
/usr/bin/ginstall -d -m 0755 $PKG/usr/bin
/usr/bin/ginstall -m 0755 svp $PKG/usr/bin
-( 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
-)
+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
cp -a README $PKG/usr/doc/$PRGNAM-$VERSION