Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
2d70d603
Commit
2d70d603
authored
Nov 11, 2009
by
Russ Cox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sanity check environment variables better.
Fixes #12. R=agl1 CC=golang-dev
https://golang.org/cl/152055
parent
ea5440dd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
make.bash
src/make.bash
+17
-0
No files found.
src/make.bash
View file @
2d70d603
...
...
@@ -20,6 +20,23 @@ then
exit
1
fi
case
"
$GOARCH
"
in
amd64
|
386
|
arm
)
;;
*
)
echo
'$GOARCH is set to <'
$GOARCH
'>, must be amd64, 386, or arm'
1>&2
exit
1
esac
case
"
$GOOS
"
in
darwin
|
linux
|
nacl
)
;;
*
)
echo
'$GOOS is set to <'
$GOOS
'>, must be darwin, linux, or nacl'
1>&2
exit
1
esac
bash clean.bash
rm
-f
$GOBIN
/quietgcc
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment