From 5a0e8a9c928c8f6288fd2e10eed8376776c3e93a Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:50:24 -0400 Subject: system/redis: Fixed for bash4. --- system/redis/redis.SlackBuild | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'system') diff --git a/system/redis/redis.SlackBuild b/system/redis/redis.SlackBuild index 75dd21265e..6c152b34c9 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 -- cgit v1.2.3