Skip to content

Commit 32ada58

Browse files
Merge pull request #16701 from Miciah/build-go.sh-fix-unbound-variable-STARTTIME
Automatic merge from submit-queue (batch tested with PRs 16453, 16701). build-go.sh: Fix unbound variable STARTTIME Delete stale code that was causing `make` and `hack/build-go.sh` to fail with the following error: hack/build-go.sh: line 31: STARTTIME: unbound variable The code in question is superseded by the `cleanup` hook added in commit cd94e23, which also deleted the initialization of `STARTTIME`.
2 parents 934d1fd + e5200c3 commit 32ada58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hack/build-go.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ if [[ -z "$@" ]]; then
2828

2929
os::build::make_openshift_binary_symlinks
3030

31-
ret=$?; ENDTIME=$(date +%s); echo "$0 took $(($ENDTIME - $STARTTIME)) seconds"; exit "$ret"
31+
exit
3232
fi
3333

3434
build_targets=("${OS_CROSS_COMPILE_TARGETS[@]}")

0 commit comments

Comments
 (0)