Make sure we use /usr/sbin/sysctl, especially since /usr/sbin is not
authorRichard Levitte <levitte@openssl.org>
Wed, 28 Jun 2000 10:33:37 +0000 (10:33 +0000)
committerRichard Levitte <levitte@openssl.org>
Wed, 28 Jun 2000 10:33:37 +0000 (10:33 +0000)
always in the users $PATH...

config

diff --git a/config b/config
index 130f2d7267dabba6c62227c74f9a52bc63f27a11..c89e69a17c9bbeae82de8350476300d23bb4978d 100755 (executable)
--- a/config
+++ b/config
@@ -164,7 +164,7 @@ case "${SYSTEM}:${RELEASE}:${VERSION}:${MACHINE}" in
         ;;
 
     NetBSD:*:*:*386*)
-        echo "`sysctl -n hw.model | sed 's,.*\(.\)86-class.*,i\186,'`-whateve\r-netbsd"; exit 0
+        echo "`/usr/sbin/sysctl -n hw.model | sed 's,.*\(.\)86-class.*,i\186,'`-whatever-netbsd"; exit 0
        ;;
 
     NetBSD:*)