Skip to content

Commit c7cf57a

Browse files
committed
In bash '&>' is cleaner way to do '2>&1 >'
1 parent 280f6a3 commit c7cf57a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ GO-CMD := go$(GO-VERSION)
7070
all: gocmd stdlib-targets generate aot glj-imports glj-bins
7171

7272
gocmd:
73-
@$(GO-CMD) version 2>&1 > /dev/null || { \
73+
@$(GO-CMD) version &> /dev/null || { \
7474
(go install "golang.org/dl/$(GO-CMD)@latest" && \
7575
$(GO-CMD) download > /dev/null && \
7676
$(GO-CMD) version > /dev/null); }

0 commit comments

Comments
 (0)