From 0a1c8a13dc14c5cdfe682e705e8c5d80140fa969 Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:33:50 -0400 Subject: development/p4v: Fixed for bash4. --- development/p4v/p4v.SlackBuild | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'development/p4v') diff --git a/development/p4v/p4v.SlackBuild b/development/p4v/p4v.SlackBuild index 51840786b7da..2af33aa1fa48 100755 --- a/development/p4v/p4v.SlackBuild +++ b/development/p4v/p4v.SlackBuild @@ -65,12 +65,8 @@ mv lib/p4v $PKG/usr/lib${LIBDIRSUFFIX}/p4v sed -i "s%prefix/lib/%prefix/lib${LIBDIRSUFFIX}/%g" $PKG/usr/bin/$PRGNAM sed -i "s%prefix/lib/%prefix/lib${LIBDIRSUFFIX}/%g" $PKG/usr/bin/p4merge -( 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/ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -- cgit v1.2.3