Skip to content

Commit 0ac11e5

Browse files
committed
another bugfix for macos-2
1 parent 9ffe120 commit 0ac11e5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

util/installation/common/util.sh

+5-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,11 @@ function CheckOsSupported {
9999
local SPECIFIC_BDM_OS=$(DetectOs)
100100

101101
if echo "$SPECIFIC_OSES_SUPPORTED" | grep -Eiq "$SPECIFIC_BDM_OS" ; then
102-
BDM_INSTALL_OS_SRC=$BDM_INSTALL_SRC/$BDM_OS/$SPECIFIC_BDM_OS
102+
if [ "$BDM_OS" == "osx" ]; then
103+
BDM_INSTALL_OS_SRC=$BDM_INSTALL_SRC/$BDM_OS/common
104+
else
105+
BDM_INSTALL_OS_SRC=$BDM_INSTALL_SRC/$BDM_OS/$SPECIFIC_BDM_OS
106+
fi
103107
elif [ "$BDM_OS" == "osx" ] || [ "$BDM_OS" == "rhel" ] || [ "$BDM_OS" == "debian" ] || [ "$BDM_OS" == "suse" ] ; then
104108
BDM_INSTALL_OS_SRC=$BDM_INSTALL_SRC/$BDM_OS/common
105109
else

0 commit comments

Comments
 (0)