Skip to content

Commit 251ee55

Browse files
committed
Solve metacall runtime script issue.
1 parent be9fe06 commit 251ee55

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tools/metacall-runtime.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,15 @@ INSTALL_CLEAN=0
4545
SHOW_HELP=0
4646
PROGNAME=$(basename $0)
4747

48+
# Operative System detection
49+
case "$(uname -s)" in
50+
Linux*) OPERATIVE_SYSTEM=Linux;;
51+
Darwin*) OPERATIVE_SYSTEM=Darwin;;
52+
CYGWIN*) OPERATIVE_SYSTEM=Cygwin;;
53+
MINGW*) OPERATIVE_SYSTEM=MinGW;;
54+
*) OPERATIVE_SYSTEM="Unknown"
55+
esac
56+
4857
# Check out for sudo
4958
if [ "`id -u`" = '0' ]; then
5059
SUDO_CMD=""

0 commit comments

Comments
 (0)