aboutsummaryrefslogtreecommitdiff
path: root/system/redis/redis.SlackBuild
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:50:24 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:50:24 -0400
commit5a0e8a9c928c8f6288fd2e10eed8376776c3e93a (patch)
tree01316e0b9d8aa905f8c4236d00ef5bbfbef00594 /system/redis/redis.SlackBuild
parenta363ec18253da1f86cf0597fa5618db54612609b (diff)
system/redis: Fixed for bash4.
Diffstat (limited to 'system/redis/redis.SlackBuild')
-rw-r--r--system/redis/redis.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/system/redis/redis.SlackBuild b/system/redis/redis.SlackBuild
index 75dd21265eb1..6c152b34c9c2 100644
--- a/system/redis/redis.SlackBuild
+++ b/system/redis/redis.SlackBuild
@@ -43,12 +43,8 @@ CFLAGS="$SLKCFLAGS" make
mkdir -p $PKG/usr/bin
install -m 0755 redis-server redis-cli redis-benchmark $PKG/usr/bin
-( 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
# Use sample config, without overwriting
install -D -m 644 redis.conf $PKG/etc/redis.conf.new