update pre-commit hook for Scinotes indentation on Windows 40/21240/2
Antoine ELIAS [Mon, 20 Jan 2020 14:02:32 +0000 (15:02 +0100)]
Change-Id: I3e7603a0a148333aa2fc53fc3e0f758b6aefd561

git_hooks/pre-commit

index ffb1e9f..3de975b 100755 (executable)
@@ -190,7 +190,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