windows hooks : now nw mode is in wscilex, no longer in scilex 54/15454/1
Antoine ELIAS [Mon, 3 Nov 2014 09:13:32 +0000 (10:13 +0100)]
Change-Id: I4560aad7f6b8e33e55249ad6125037be92a70fcf

git_hooks/pre-commit

index 3581740..2fce661 100755 (executable)
@@ -177,7 +177,7 @@ __indent_scilab() {
         scilab/bin/scilab -nw -f $TMPFILE || return 2
     else
         if test -f scilab/bin/WScilex.exe; then
-            scilab/bin/scilex.exe -f $TMPFILE || return 2
+            scilab/bin/wscilex.exe -nw -f $TMPFILE || return 2
         else
             echo "Scilab has not been built."
             rm $TMPFILE