summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:48:23 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:48:23 -0400
commit010b11ef05835aab2eb59d92f3785b904a301460 (patch)
tree904c349ea6ddb50d15b217f8d5978eb1b9638e9e
parentc4992da9cc1454de9fdbd7cce7e7276b99adae77 (diff)
downloadslackbuilds-010b11ef05835aab2eb59d92f3785b904a301460.tar.gz
system/dash: Fixed for bash4.
-rw-r--r--system/dash/dash.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/system/dash/dash.SlackBuild b/system/dash/dash.SlackBuild
index 88043f794c..5baa4cbe4b 100644
--- a/system/dash/dash.SlackBuild
+++ b/system/dash/dash.SlackBuild
@@ -58,12 +58,8 @@ make install DESTDIR=$PKG
mkdir -p $PKG/usr/bin
( cd $PKG/usr/bin ; ln -s /bin/dash dash )
-( 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 {} \;