1
0
Fork 0

Remove unnecessary function

This commit is contained in:
Braiden Vasco 2017-07-03 06:27:31 +00:00
parent 1d6d2c0b09
commit 6423637378

View file

@ -42,19 +42,9 @@ main() {
pushd "$SUB_STAGE_DIR" > /dev/null
task_run "$SUB_STAGE_DIR/00-run.sh"
"$SUB_STAGE_DIR/00-run.sh"
popd > /dev/null
}
task_run() {
if [ -x "$1" ]; then
log_begin "$1"
"$1"
log_end "$1"
fi
}
main