diff options
author | Marcel Moolenaar <marcel@FreeBSD.org> | 2000-08-21 23:20:05 +0000 |
---|---|---|
committer | Marcel Moolenaar <marcel@FreeBSD.org> | 2000-08-21 23:20:05 +0000 |
commit | 23121be8c6b45e78ca8e39e2e1cc4eb764fd2460 (patch) | |
tree | 71c7fbaebac61f713f488ecbebfebdc28366c49d /devel/linux_devtools-6/pkg-install | |
parent | Fix several (of course, root-exploitable) buffer overflows. (diff) |
Fix brokenness in last commit:
o Add missing fi
o s/$GREP/grep/g
Reported by: Siegbert Baude <siegbert.baude@gmx.de>
Diffstat (limited to '')
-rw-r--r-- | devel/linux_devtools-6/pkg-install | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/devel/linux_devtools-6/pkg-install b/devel/linux_devtools-6/pkg-install index 957ee313fa57..6ee794c46d01 100644 --- a/devel/linux_devtools-6/pkg-install +++ b/devel/linux_devtools-6/pkg-install @@ -3,7 +3,7 @@ case "$2" in PRE-INSTALL) - if [ -z "`kldstat -v | ${GREP} -E 'linux(aout|elf)'`" ]; then + if [ -z "`kldstat -v | grep -E 'linux(aout|elf)'`" ]; then echo 'Linux mode is not enabled.' echo 'Loading linux kernel module now...' if ! kldload linux; then @@ -11,6 +11,7 @@ PRE-INSTALL) echo 'Please enable linux mode manually and retry.' exit 1 fi + fi ;; esac |