scilab: fix exit code in Example makefile
This commit is contained in:
parent
540973ee1d
commit
71b838b777
1 changed files with 6 additions and 2 deletions
|
|
@ -1732,7 +1732,9 @@ scilab: $(SRCDIR_SRCS)
|
||||||
fi \
|
fi \
|
||||||
fi
|
fi
|
||||||
env LD_LIBRARY_PATH=.:$$LD_LIBRARY_PATH MAKEFLAGS="-j1" $(RUNTOOL) $(SCILAB) $(SCILAB_OPT) -e "ierr = exec('builder.sce', 'errcatch', -1); if ierr <> 0 then disp(lasterror()); end; exit(ierr);"; \
|
env LD_LIBRARY_PATH=.:$$LD_LIBRARY_PATH MAKEFLAGS="-j1" $(RUNTOOL) $(SCILAB) $(SCILAB_OPT) -e "ierr = exec('builder.sce', 'errcatch', -1); if ierr <> 0 then disp(lasterror()); end; exit(ierr);"; \
|
||||||
test "x$(SRCS)" = "x$(SRCDIR_SRCS)" || rm $(SRCS)
|
STATUS=$$? \
|
||||||
|
test "x$(SRCS)" = "x$(SRCDIR_SRCS)" || rm $(SRCS) \
|
||||||
|
exit $(STATUS)
|
||||||
|
|
||||||
# ----------------------------------------------------------------
|
# ----------------------------------------------------------------
|
||||||
# Build a C++ dynamically loadable module
|
# Build a C++ dynamically loadable module
|
||||||
|
|
@ -1754,7 +1756,9 @@ scilab_cpp: $(SRCDIR_SRCS)
|
||||||
fi \
|
fi \
|
||||||
fi
|
fi
|
||||||
env LD_LIBRARY_PATH=.:$$LD_LIBRARY_PATH MAKEFLAGS="-j1" $(RUNTOOL) $(SCILAB) $(SCILAB_OPT) -e "ierr = exec('builder.sce', 'errcatch', -1); if ierr <> 0 then disp(lasterror()); end; exit(ierr);"; \
|
env LD_LIBRARY_PATH=.:$$LD_LIBRARY_PATH MAKEFLAGS="-j1" $(RUNTOOL) $(SCILAB) $(SCILAB_OPT) -e "ierr = exec('builder.sce', 'errcatch', -1); if ierr <> 0 then disp(lasterror()); end; exit(ierr);"; \
|
||||||
test "x$(SRCS)" = "x$(SRCDIR_SRCS)" || rm $(SRCS)
|
STATUS=$$? \
|
||||||
|
test "x$(SRCS)" = "x$(SRCDIR_SRCS)" || rm $(SRCS) \
|
||||||
|
exit $(STATUS)
|
||||||
|
|
||||||
# -----------------------------------------------------------------
|
# -----------------------------------------------------------------
|
||||||
# Running a Scilab example
|
# Running a Scilab example
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue