Use path based SHELL in Makefiles. It was suggested that this is a better solution for make for cases when there is no /usr/bin/env. See: https://github.com/purpleidea/mgmt/pull/694#discussion_r1015596204
9 lines
151 B
Bash
Executable File
9 lines
151 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# simple way to kick off runs of the project, since 'go run' sucks!
|
|
make build || exit 1
|
|
sudo ./mgmt "$@"
|
|
e=$?
|
|
make clean
|
|
exit $e
|