This commit is contained in:
@ -8,18 +8,18 @@ DROPSHELL_BUILD_DIR="${SCRIPT_DIR}/../dropshell-build/"
|
||||
DROPSHELL_BUILD_DIR=$(realpath "${DROPSHELL_BUILD_DIR}")
|
||||
|
||||
# make sure the build script exists
|
||||
if [ ! -f "${DROPSHELL_BUILD_DIR}/dropshell-build.sh" ]; then
|
||||
echo "Error: dropshell-build.sh not found"
|
||||
if [ ! -f "${DROPSHELL_BUILD_DIR}/dropshell-build" ]; then
|
||||
echo "Error: dropshell-build not found"
|
||||
exit 1
|
||||
fi
|
||||
if [ ! -f "${DROPSHELL_BUILD_DIR}/install_dropshell_build_host.sh" ]; then
|
||||
echo "Error: install_dropshell_build_host.sh not found"
|
||||
if [ ! -f "${DROPSHELL_BUILD_DIR}/install_dropshell_build_requirements" ]; then
|
||||
echo "Error: install_dropshell_build_requirements not found"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# install host dependencies
|
||||
"${DROPSHELL_BUILD_DIR}/install_dropshell_build_host.sh"
|
||||
"${DROPSHELL_BUILD_DIR}/install_dropshell_build_requirements"
|
||||
|
||||
|
||||
# run the build script
|
||||
"${DROPSHELL_BUILD_DIR}/dropshell-build.sh" "$@" "${SCRIPT_DIR}"
|
||||
"${DROPSHELL_BUILD_DIR}/dropshell-build" "$@" "${SCRIPT_DIR}"
|
||||
|
Reference in New Issue
Block a user