diff options
author | Christopher Vogt <oss.nsp@cvogt.org> | 2016-03-12 22:52:02 -0500 |
---|---|---|
committer | Christopher Vogt <oss.nsp@cvogt.org> | 2016-03-19 21:04:52 -0400 |
commit | 83f8bc492d9d714c0dea03f65fa693d77e236cb0 (patch) | |
tree | ab29a9c74b306ea67e78784f230edc54b06f64d2 /cbt | |
parent | ba49574e1bf51f7fb1a9cbfe94d3b7185afbbc80 (diff) | |
download | cbt-83f8bc492d9d714c0dea03f65fa693d77e236cb0.tar.gz cbt-83f8bc492d9d714c0dea03f65fa693d77e236cb0.tar.bz2 cbt-83f8bc492d9d714c0dea03f65fa693d77e236cb0.zip |
move decision about admin tasks or not from bash into Scala
Diffstat (limited to 'cbt')
-rwxr-xr-x | cbt | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -192,12 +192,8 @@ stage1 () { fi log "run CBT and loop if desired. This allows recompiling CBT itself as part of compile looping." $* - if [ "$1" = "admin" ] || [ "$2" = "admin" ]; then - mainClass=cbt.AdminStage1 - else - mainClass=cbt.Stage1 - fi - + mainClass=cbt.Stage1 + CP=$STAGE1$TARGET:$SCALA_CLASSPATH if [ $use_nailgun -eq 1 ] then |