summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:50:41 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:50:41 -0400
commit933571ec1bdd1fc2239f166c3759458106f81d44 (patch)
treeeb418f5a566ce2f4e274915462b2a331ce54df80
parent4f30520c3c6c944134c2ddf4ff4ff6e265edccea (diff)
downloadslackbuilds-933571ec1bdd1fc2239f166c3759458106f81d44.tar.gz
system/unison: Fixed for bash4.
-rw-r--r--system/unison/unison.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/system/unison/unison.SlackBuild b/system/unison/unison.SlackBuild
index 77cadfc2bf..8c418ddd89 100644
--- a/system/unison/unison.SlackBuild
+++ b/system/unison/unison.SlackBuild
@@ -62,12 +62,8 @@ make UISTYLE=$FLAVOR DEBUGGING=false THREADS=true NATIVE=true
mkdir -p $PKG/usr/bin
install -m 0755 $PRGNAM $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 || 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/share/applications
cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop