diff options
-rw-r--r-- | distrib/miniroot/dot.profile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/distrib/miniroot/dot.profile b/distrib/miniroot/dot.profile index 8a47b333738..03dccd73869 100644 --- a/distrib/miniroot/dot.profile +++ b/distrib/miniroot/dot.profile @@ -1,4 +1,4 @@ -# $OpenBSD: dot.profile,v 1.50 2022/05/09 22:42:53 deraadt Exp $ +# $OpenBSD: dot.profile,v 1.51 2023/02/20 01:55:41 kn Exp $ # $NetBSD: dot.profile,v 1.1 1995/12/18 22:54:43 pk Exp $ # # Copyright (c) 2009 Kenneth R. Westerback @@ -32,6 +32,9 @@ # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # +# Turn off Strict Bourne shell. +set +o sh + export VNAME=$(sysctl -n kern.osrelease) export VERSION="${VNAME%.*}${VNAME#*.}" export ARCH=$(sysctl -n hw.machine) |