Added support for Mohist servers

This commit is contained in:
Geoff Bourne
2020-06-19 11:31:56 -05:00
parent f93c42a23f
commit bc318fa185
4 changed files with 61 additions and 1 deletions

View File

@@ -99,4 +99,11 @@ function versionLessThan {
return 1
fi
fi
}
}
requireVar() {
if [ ! -v $1 ]; then
log "ERROR: $1 is required to be set"
exit 1
fi
}