aboutsummaryrefslogtreecommitdiff
path: root/libraries/libpri
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:37:58 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:37:58 -0400
commit417aac94a0f0be5326844aec846c03aa9dcab771 (patch)
treef9f07be709d02b80f258886380b2992f90d58b6b /libraries/libpri
parent37fe5879c2e69c63203e6895f397cb26f79e2694 (diff)
libraries/libpri: Fixed for bash4.
Diffstat (limited to 'libraries/libpri')
-rw-r--r--libraries/libpri/libpri.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/libraries/libpri/libpri.SlackBuild b/libraries/libpri/libpri.SlackBuild
index dffcdc9fea886..eb15071c17edf 100644
--- a/libraries/libpri/libpri.SlackBuild
+++ b/libraries/libpri/libpri.SlackBuild
@@ -61,12 +61,8 @@ patch -p1 < $CWD/libpri-1.4.10.1-add_extra_cflags.patch
make libdir=/usr/lib${LIBDIRSUFFIX} EXTRA_CFLAGS="$SLKCFLAGS"
make libdir=/usr/lib${LIBDIRSUFFIX} install DESTDIR=$PKG
-( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null
- 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/install $PKG/usr/doc/$PRGNAM-$VERSION
cp -a ChangeLog LICENSE README TODO $PKG/usr/doc/$PRGNAM-$VERSION/