summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2011-03-20 19:29:21 -0400
committerRobby Workman <rworkman@slackbuilds.org>2011-03-24 19:23:11 -0500
commitd4eb6c6d30fdc668f5789f70872cbf8391a0784b (patch)
tree4ea37df847d74c83b173d79c7c856b03193571ae /system
parenta838fe41989cdc2784989148a079ca8da1487a3f (diff)
downloadslackbuilds-d4eb6c6d30fdc668f5789f70872cbf8391a0784b.tar.gz
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>
Diffstat (limited to 'system')
-rw-r--r--system/chkrootkit/chkrootkit.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/chkrootkit/chkrootkit.SlackBuild b/system/chkrootkit/chkrootkit.SlackBuild
index 22f4fab791..d58e6fd7f2 100644
--- a/system/chkrootkit/chkrootkit.SlackBuild
+++ b/system/chkrootkit/chkrootkit.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=chkrootkit
VERSION=${VERSION:-0.49}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
@@ -71,7 +71,7 @@ SCFLAGS="$SLKCFLAGS" make
# Lets make our own fancy make install
DESTDIR=$PKG/usr/lib${LIBDIRSUFFIX}/chkrootkit/bin
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
done