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
5bf658cc
Commit
5bf658cc
authored
Sep 02, 2010
by
Russ Cox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build: create bin and pkg directories as needed; drop from hg
R=dsymonds, r CC=golang-dev
https://golang.org/cl/2050043
parent
4e645558
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
9 deletions
+7
-9
bin/~place-holder~
bin/~place-holder~
+0
-4
pkg/~place-holder~
pkg/~place-holder~
+0
-4
src/env.bash
src/env.bash
+1
-1
src/make.bash
src/make.bash
+6
-0
No files found.
bin/~place-holder~
deleted
100644 → 0
View file @
4e645558
Command binaries are installed in this directory.
Mercurial does not maintain empty directories.
This file helps.
pkg/~place-holder~
deleted
100644 → 0
View file @
4e645558
Package binaries are installed in this directory tree.
Mercurial does not maintain empty directories.
This file helps.
src/env.bash
View file @
5bf658cc
...
...
@@ -22,7 +22,7 @@ if [ "$DIR1" != "$DIR2" ]; then
fi
export
GOBIN
=
${
GOBIN
:-
"
$GOROOT
/bin"
}
if
[
!
-d
"
$GOBIN
"
]
;
then
if
[
!
-d
"
$GOBIN
"
-a
"
$GOBIN
"
!=
"
$GOROOT
/bin"
]
;
then
echo
'$GOBIN is not a directory or does not exist'
1>&2
echo
'create it or set $GOBIN differently'
1>&2
exit
1
...
...
src/make.bash
View file @
5bf658cc
...
...
@@ -10,6 +10,12 @@ if [ ! -f env.bash ]; then
fi
.
./env.bash
# Create target directories
if
[
"
$GOBIN
"
=
"
$GOROOT
/bin"
]
;
then
mkdir
-p
"
$GOROOT
/bin"
fi
mkdir
-p
"
$GOROOT
/pkg"
GOROOT_FINAL
=
${
GOROOT_FINAL
:-
$GOROOT
}
MAKEFLAGS
=
${
MAKEFLAGS
:-
"-j4"
}
...
...
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