From c4da3d4d32633a4a27e18cf3e09c8e13e4a544b1 Mon Sep 17 00:00:00 2001 From: Mike Krupicka Date: Thu, 14 Sep 2023 09:20:56 -0500 Subject: [PATCH] Keep export.sh Bourne Shell compatible --- export.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/export.sh b/export.sh index 4ef6ff84d963..e9c83866f567 100644 --- a/export.sh +++ b/export.sh @@ -19,7 +19,7 @@ __verbose() { __script_dir(){ # shellcheck disable=SC2169,SC2169,SC2039,SC3010,SC3028 # unreachable with 'dash' - if [[ "$OSTYPE" == "darwin"* ]]; then + if [ `uname -s` = "Darwin" ]; then # convert possibly relative path to absolute script_dir="$(__realpath "${self_path}")" # resolve any ../ references to make the path shorter