updated build system
This commit is contained in:
@ -8,10 +8,6 @@ CURRENT_DIR=$(realpath ${CURRENT_DIR})
|
||||
|
||||
. "${CURRENT_DIR}/env.sh" "$2" "$3" "$4" "$5" "$6"
|
||||
|
||||
if [ -f "${CURRENT_DIR}/../build/version.sh" ]; then
|
||||
source ${CURRENT_DIR}/../build/version.sh
|
||||
fi
|
||||
|
||||
if [ -f "${CURRENT_DIR}/../build/git_rev.sh" ]; then
|
||||
source ${CURRENT_DIR}/../build/git_rev.sh
|
||||
fi
|
||||
@ -22,11 +18,6 @@ function exit_and_clean() {
|
||||
exit $2
|
||||
}
|
||||
|
||||
if [ "${PROJECT_VERSION}" == "" ]; then
|
||||
echo "Project version not set"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ "${PROJECT_GIT_REV}" == "" ]; then
|
||||
echo "Project git revision not set"
|
||||
exit 1
|
||||
|
Reference in New Issue
Block a user