15 lines
227 B
Bash
Executable File
15 lines
227 B
Bash
Executable File
#!/bin/bash
|
|
|
|
fatal() {
|
|
echo "$1"
|
|
exit 1
|
|
}
|
|
|
|
if [ -z "$BUILD_DIR" ] ; then fatal "env var BUILD_DIR is not defined"; fi
|
|
if [ -z "$HCC_HOME" ] ; then fatal "env var HCC_HOME is not defined"; fi
|
|
|
|
cd $BUILD_DIR
|
|
./run.sh
|
|
|
|
exit 0
|