|
@@ -14,8 +14,10 @@ ROOTDIR="$(git -C "$SCRIPTDIR" rev-parse --show-toplevel)"
|
|
if test -e "${ROOTDIR}/go.mod"; then
|
|
if test -e "${ROOTDIR}/go.mod"; then
|
|
{
|
|
{
|
|
scriptname=$(basename "$0")
|
|
scriptname=$(basename "$0")
|
|
- echo "${scriptname}: WARN: go.mod exists in the repository root!"
|
|
|
|
- echo "${scriptname}: WARN: Using your go.mod instead of our generated version -- this may misbehave!"
|
|
|
|
|
|
+ cat >&2 <<- EOF
|
|
|
|
+ $scriptname: WARN: go.mod exists in the repository root!
|
|
|
|
+ $scriptname: WARN: Using your go.mod instead of our generated version -- this may misbehave!
|
|
|
|
+ EOF
|
|
} >&2
|
|
} >&2
|
|
else
|
|
else
|
|
set -x
|
|
set -x
|