Commit d165dc60 authored by Dave Cheney's avatar Dave Cheney Committed by Russ Cox

build: handle broken awk in version.bash

R=adg, rsc, ality
CC=golang-dev
https://golang.org/cl/4281069
parent d406f8f6
......@@ -19,7 +19,7 @@ fi
# Find most recent known release tag.
TAG=$(hg tags |
sort -rn -k2 |
awk -vver=$VERSION '$2 <= ver && $1~/^(release|weekly)\./ {print $1}' |
awk -v ver=$VERSION '$2 <= ver && $1~/^(release|weekly)\./ {print $1}' |
sed -n 1p)
if [ "$TAG" != "" ]; then
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment