diff options
author | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:37:58 -0400 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:37:58 -0400 |
commit | 417aac94a0f0be5326844aec846c03aa9dcab771 (patch) | |
tree | f9f07be709d02b80f258886380b2992f90d58b6b /libraries | |
parent | 37fe5879c2e69c63203e6895f397cb26f79e2694 (diff) | |
download | slackbuilds-417aac94a0f0be5326844aec846c03aa9dcab771.tar.gz |
libraries/libpri: Fixed for bash4.
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/libpri/libpri.SlackBuild | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/libraries/libpri/libpri.SlackBuild b/libraries/libpri/libpri.SlackBuild index dffcdc9fea..eb15071c17 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/ |