From 933571ec1bdd1fc2239f166c3759458106f81d44 Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:50:41 -0400 Subject: [PATCH] system/unison: Fixed for bash4. --- system/unison/unison.SlackBuild | 8 ++------ 1 file 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