aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:50:37 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:50:37 -0400
commit53565aa293bf94a00fa3c463455e95275c8937e5 (patch)
tree1e5859c3adb1ae319e4378fed12437cb32b41e62 /system
parent2e5ec6181912e8a0d729eb9d5c15c6a6517b04a7 (diff)
system/tp_smapi: Fixed for bash4.
Diffstat (limited to 'system')
-rw-r--r--system/tp_smapi/tp_smapi.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/system/tp_smapi/tp_smapi.SlackBuild b/system/tp_smapi/tp_smapi.SlackBuild
index 483bcb847c1c9..7e41eff1723d2 100644
--- a/system/tp_smapi/tp_smapi.SlackBuild
+++ b/system/tp_smapi/tp_smapi.SlackBuild
@@ -83,12 +83,8 @@ cat $CWD/modprobe.thinkpad_ec.conf > $PKG/etc/modprobe.d/thinkpad_ec.conf
mkdir -p $PKG/etc/depmod.d
echo "override hdaps ${KERNEL_VERS} extra" > $PKG/etc/depmod.d/hdaps.conf
-( 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 CHANGES README TODO $PKG/usr/doc/$PRGNAM-$VERSION