:-'Generic Commit'
This commit is contained in:
parent
b361e009a7
commit
36ee2f3cec
17
dropshell-tool/build.sh
Executable file
17
dropshell-tool/build.sh
Executable file
@ -0,0 +1,17 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
|
||||||
|
|
||||||
|
DROPSHELL_BUILD_DIR="${SCRIPT_DIR}/../dropshell-build/dropshell-build.sh"
|
||||||
|
# make canonical path
|
||||||
|
DROPSHELL_BUILD_DIR=$(realpath "${DROPSHELL_BUILD_DIR}")
|
||||||
|
|
||||||
|
# make sure the build script exists
|
||||||
|
if [ ! -f "${DROPSHELL_BUILD_DIR}" ]; then
|
||||||
|
echo "Error: dropshell-build.sh not found"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
# run the build script
|
||||||
|
"${DROPSHELL_BUILD_DIR}" "${SCRIPT_DIR}"
|
Loading…
x
Reference in New Issue
Block a user