summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:35:31 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:35:31 -0400
commit86e6266230cced137a100a2ac8be916e1d166412 (patch)
treea8c5494cfb17f5dba74d7783dc6a5f14ef237e20
parent8e3b2bb5e1a1bef9df7f4745db47a8e07cca0c51 (diff)
downloadslackbuilds-86e6266230cced137a100a2ac8be916e1d166412.tar.gz
libraries/PythonDaap: Fixed for bash4.
-rw-r--r--libraries/PythonDaap/PythonDaap.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/libraries/PythonDaap/PythonDaap.SlackBuild b/libraries/PythonDaap/PythonDaap.SlackBuild
index 4efbd14da3..6a13c0a57b 100644
--- a/libraries/PythonDaap/PythonDaap.SlackBuild
+++ b/libraries/PythonDaap/PythonDaap.SlackBuild
@@ -41,12 +41,8 @@ find . \
python setup.py install --root=$PKG
-( 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 CHANGELOG LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION