system/chkrootkit: Fixed SlackBuild to work with 13.37.

ls output changed in 13.37 and broke the script.

Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
dsomero 2011-03-20 19:29:21 -04:00 committed by Robby Workman
parent a838fe4198
commit d4eb6c6d30

View file

@ -24,7 +24,7 @@
PRGNAM=chkrootkit PRGNAM=chkrootkit
VERSION=${VERSION:-0.49} VERSION=${VERSION:-0.49}
BUILD=${BUILD:-1} BUILD=${BUILD:-2}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on: # Automatically determine the architecture we're building on:
@ -71,7 +71,7 @@ SCFLAGS="$SLKCFLAGS" make
# Lets make our own fancy make install # Lets make our own fancy make install
DESTDIR=$PKG/usr/lib${LIBDIRSUFFIX}/chkrootkit/bin DESTDIR=$PKG/usr/lib${LIBDIRSUFFIX}/chkrootkit/bin
mkdir -p $DESTDIR mkdir -p $DESTDIR
for BINPRG in $(ls -l | grep "rwx\|\-x" | grep -v "\." | awk '{ print $8 }'); do for BINPRG in $(ls -l | grep "rwx\|\-x" | grep -v "\." | awk '{ print $9 }'); do
install -m 0755 $BINPRG $DESTDIR install -m 0755 $BINPRG $DESTDIR
done done