summaryrefslogtreecommitdiffstats
path: root/git_hooks/pre-commit
diff options
context:
space:
mode:
authorAntoine ELIAS <antoine.elias@esi-group.com>2020-01-20 15:02:32 +0100
committerAdeline CARNIS <adeline.carnis@scilab-enterprises.com>2020-01-20 15:05:41 +0100
commit73590bfb4d6586b1ea0cc815f253b188284a4cdd (patch)
tree3e90e674d203f0eb74900877c211296fae2af634 /git_hooks/pre-commit
parente147c3ee7424093ccb4c85245fc3b46304a95899 (diff)
downloadscilab-73590bfb4d6586b1ea0cc815f253b188284a4cdd.zip
scilab-73590bfb4d6586b1ea0cc815f253b188284a4cdd.tar.gz
update pre-commit hook for Scinotes indentation on Windows
Change-Id: I3e7603a0a148333aa2fc53fc3e0f758b6aefd561
Diffstat (limited to 'git_hooks/pre-commit')
-rwxr-xr-xgit_hooks/pre-commit2
1 files changed, 1 insertions, 1 deletions
diff --git a/git_hooks/pre-commit b/git_hooks/pre-commit
index ffb1e9f..3de975b 100755
--- a/git_hooks/pre-commit
+++ b/git_hooks/pre-commit
@@ -190,7 +190,7 @@ __indent_scilab() {
190 scilab/bin/scilab -nw -f $TMPFILE || return 2 190 scilab/bin/scilab -nw -f $TMPFILE || return 2
191 else 191 else
192 if test -f scilab/bin/WScilex.exe; then 192 if test -f scilab/bin/WScilex.exe; then
193 scilab/bin/scilex.exe -f $TMPFILE || return 2 193 scilab/bin/wscilex.exe -nw -f $TMPFILE || return 2
194 else 194 else
195 echo "Scilab has not been built." 195 echo "Scilab has not been built."
196 rm $TMPFILE 196 rm $TMPFILE