Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
src/clean.bash
src/clean.bash
+8
-0
No files found.
src/clean.bash
View file @
d34174cf
...
@@ -9,6 +9,14 @@ if [ -z "$GOROOT" ] ; then
...
@@ -9,6 +9,14 @@ if [ -z "$GOROOT" ] ; then
echo
'$GOROOT not set'
echo
'$GOROOT not set'
exit
1
exit
1
fi
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
}
"
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