Fix build failure in RHEL makefile

This commit is contained in:
Robert Parker
2018-10-08 15:57:29 +01:00
committed by Arthur Barr
parent 9a34e9b15c
commit fe8a87b39f
6 changed files with 146 additions and 18 deletions

View File

@@ -18,6 +18,16 @@
# Run the Go build script inside the Go container, mounting the source
# directory in
function usage {
echo "Usage: $0 TAG DevModeFlag"
exit 20
}
if [ "$#" -ne 2 ]; then
echo "ERROR: Invalid number of parameters"
usage
fi
readonly tag=$1
readonly dev=$2