Ver código fonte

civrun returns the return value of civvm

Simon Polstra 11 anos atrás
pai
commit
2998052659
1 arquivos alterados com 2 adições e 0 exclusões
  1. 2 0
      bin/civrun

+ 2 - 0
bin/civrun

@@ -3,4 +3,6 @@ DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
 $DIR/civcc -o _tmp.s ${@:2} $1 &&
 $DIR/civas -o _tmp.out _tmp.s &&
 $DIR/civvm _tmp.out
+ret_val=$?
 rm -f _tmp.s _tmp.out
+exit $ret_val