aboutsummaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:33:46 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:33:46 -0400
commit493046bbb3759d7205eccf49526951ecd5ee9d50 (patch)
tree3cd0509dd5a1615f6be80650801ea77bf3996eab /development
parent0c6f15c8de869f10cb4b1304904b4d5101369fa4 (diff)
development/nsis: Fixed for bash4.
Diffstat (limited to 'development')
-rw-r--r--development/nsis/nsis.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/development/nsis/nsis.SlackBuild b/development/nsis/nsis.SlackBuild
index 009664b656397..120817d26181c 100644
--- a/development/nsis/nsis.SlackBuild
+++ b/development/nsis/nsis.SlackBuild
@@ -75,12 +75,8 @@ scons \
mkdir -p $PKG/usr/bin
( cd $PKG/usr/bin ; ln -sf ../lib${LIBDIRSUFFIX}/nsis-2.46/makensis makensis )
-( 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
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;