diff options
author | marcel <marcel@FreeBSD.org> | 2000-08-22 07:20:05 +0800 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2000-08-22 07:20:05 +0800 |
commit | 4cee8334ae968b8cfbd568b74a7ea506fe949522 (patch) | |
tree | 3c663904aeee27e78a256f38e2975861599229d7 /devel/linux_devtools-6 | |
parent | e3a7f0491b10402e6953ee42744bb0b7080481ae (diff) | |
download | freebsd-ports-graphics-4cee8334ae968b8cfbd568b74a7ea506fe949522.tar.gz freebsd-ports-graphics-4cee8334ae968b8cfbd568b74a7ea506fe949522.tar.zst freebsd-ports-graphics-4cee8334ae968b8cfbd568b74a7ea506fe949522.zip |
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 'devel/linux_devtools-6')
-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 957ee313fa5..6ee794c46d0 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 |