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
d34174cf
Commit
d34174cf
authored
Jul 22, 2010
by
Andrew Gerrand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build: clean.bash to check that GOOS and GOARCH are set
R=rsc CC=golang-dev
https://golang.org/cl/1843046
parent
d1e7cffe
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
clean.bash
src/clean.bash
+8
-0
No files found.
src/clean.bash
View file @
d34174cf
...
...
@@ -9,6 +9,14 @@ if [ -z "$GOROOT" ] ; then
echo
'$GOROOT not set'
exit
1
fi
if
[
-z
"
$GOOS
"
]
;
then
echo
'$GOOS not set'
exit
1
fi
if
[
-z
"
$GOARCH
"
]
;
then
echo
'$GOARCH not set'
exit
1
fi
GOBIN
=
"
${
GOBIN
:-
$HOME
/bin
}
"
...
...
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