langtoncant/mk.sh
Bjorn Einar Bjarntes 5c4e702999 a lot
2021-12-18 11:14:37 +01:00

8 lines
232 B
Bash
Executable file

DIR="$( cd "$( dirname "$(readlink -f "$0")" )" > /dev/null && pwd )"
if test -e "$DIR/../../../build.sh"; then
sh "$DIR/../../../build.sh" make "$@"
elif test -e "$SHPATH"; then
sh "$SHPATH" make "$@"
else
make "$@"
fi