Fix build when required without export
parent
eae08ee476
commit
ff28e80769
|
@ -2,7 +2,11 @@
|
|||
# Args: <config-file> <arch> <builder-args> [<repo>]
|
||||
|
||||
CONFIG_DIR="$(dirname "$0")" &&
|
||||
"$CONFIG_DIR/hash_modules.py" --require-build --installed "$1" "$2" &&
|
||||
exec "$CONFIG_DIR/build.sh" "$@"
|
||||
if [ -z "$4" ]; then
|
||||
exec "$CONFIG_DIR/build.sh" "$@"
|
||||
else
|
||||
"$CONFIG_DIR/hash_modules.py" --require-build --installed "$1" "$2" &&
|
||||
exec "$CONFIG_DIR/build.sh" "$@"
|
||||
fi
|
||||
|
||||
echo "No rebuild required."
|
Loading…
Reference in New Issue