Browse files

Perform os specific support checks using subshells.

  • Loading branch information...
1 parent abcba47 commit f7147623eaaa6cbab4ac1d7c3e5b26ab80aefd85 @marc0der marc0der committed Mar 22, 2013
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/main/resources/scripts/gvm-init.sh
  2. +1 −1 src/main/resources/scripts/install.sh
View
2 src/main/resources/scripts/gvm-init.sh
@@ -22,7 +22,7 @@ export GVM_PLATFORM=$(uname)
# OS specific support (must be 'true' or 'false').
cygwin=false;
darwin=false;
-case "`uname`" in
+case "$(uname)" in
CYGWIN*)
cygwin=true
;;
View
2 src/main/resources/scripts/install.sh
@@ -44,7 +44,7 @@ EOF
# OS specific support (must be 'true' or 'false').
cygwin=false;
darwin=false;
-case "`uname`" in
+case "$(uname)" in
CYGWIN*)
cygwin=true
;;

0 comments on commit f714762

Please sign in to comment.