summaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:34:10 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:34:10 -0400
commit424c62acfec720761d5a89f7e50b1212e6a449b2 (patch)
treec0a595c9ee39a38bf6d5669c8563b29515d09201 /development
parent0c01995b32563a7b6fc7ae8926f50766075891e2 (diff)
downloadslackbuilds-424c62acfec720761d5a89f7e50b1212e6a449b2.tar.gz
development/xmlcopyeditor: Fixed for bash4.
Diffstat (limited to 'development')
-rw-r--r--development/xmlcopyeditor/xmlcopyeditor.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/development/xmlcopyeditor/xmlcopyeditor.SlackBuild b/development/xmlcopyeditor/xmlcopyeditor.SlackBuild
index 7b351541ee..5591ac7be0 100644
--- a/development/xmlcopyeditor/xmlcopyeditor.SlackBuild
+++ b/development/xmlcopyeditor/xmlcopyeditor.SlackBuild
@@ -58,12 +58,8 @@ CPPFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$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 || 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/doc/$PRGNAM-$VERSION
cp -a \