Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Jenkins: sh syntax error when speaking to windows
authorMartin Quinson <martin.quinson@loria.fr>
Mon, 27 Jul 2015 15:02:08 +0000 (17:02 +0200)
committerMartin Quinson <martin.quinson@loria.fr>
Mon, 27 Jul 2015 15:02:08 +0000 (17:02 +0200)
buildtools/jenkins/build.sh

index 1c6773f..eb87979 100755 (executable)
@@ -20,7 +20,7 @@ case "$build_mode" in
   ;;
 
   *)
   ;;
 
   *)
-    if "$(uname -o)" = "Msys"; then
+    if test "$(uname -o)" = "Msys"; then
       echo "On Windows, jenkins is not willing to expand variables for some reason" >&2
       echo "Force use Debug mode" >&2
     else
       echo "On Windows, jenkins is not willing to expand variables for some reason" >&2
       echo "Force use Debug mode" >&2
     else