diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2009-10-07 16:44:03 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2009-10-07 16:44:03 +0000 |
commit | 19a0192b428375ca409db355a55d2df3f7b411a6 (patch) | |
tree | a98714a4829449e4247ac073ed7a761bc2244a5c | |
parent | f99f41cf5cdca30e8c1559194e96017669f03861 (diff) | |
download | openssl-19a0192b428375ca409db355a55d2df3f7b411a6.tar.gz |
Allow uname values to be overridden by the environment
-rwxr-xr-x | config | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -48,10 +48,10 @@ done # First get uname entries that we use below -MACHINE=`(uname -m) 2>/dev/null` || MACHINE="unknown" -RELEASE=`(uname -r) 2>/dev/null` || RELEASE="unknown" -SYSTEM=`(uname -s) 2>/dev/null` || SYSTEM="unknown" -VERSION=`(uname -v) 2>/dev/null` || VERSION="unknown" +[ "$MACHINE" ] || MACHINE=`(uname -m) 2>/dev/null` || MACHINE="unknown" +[ "$RELEASE" ] || RELEASE=`(uname -r) 2>/dev/null` || RELEASE="unknown" +[ "$SYSTEM" ] || SYSTEM=`(uname -s) 2>/dev/null` || SYSTEM="unknown" +[ "$BUILD" ] || VERSION=`(uname -v) 2>/dev/null` || VERSION="unknown" # Now test for ISC and SCO, since it is has a braindamaged uname. |