aboutsummaryrefslogtreecommitdiff
path: root/system/docker
diff options
context:
space:
mode:
authormancha <mancha1@hush.com>2014-02-09 11:36:40 +0700
committerErik Hanson <erik@slackbuilds.org>2014-02-11 12:15:07 -0600
commit6128cf4eb401eacfe7ad4cdd537fb0b2f1236236 (patch)
tree661dd546ddc1f23fc7d54e7b539733f5fdb9df61 /system/docker
parent50211aff3cd7cc096e9fc4b281711b40537b00d0 (diff)
system/docker: Reorder build process
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/docker')
-rw-r--r--system/docker/docker.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/system/docker/docker.SlackBuild b/system/docker/docker.SlackBuild
index a442fef79fe8..13e8310f39c2 100644
--- a/system/docker/docker.SlackBuild
+++ b/system/docker/docker.SlackBuild
@@ -57,14 +57,14 @@ find . \
unset GOPATH
-mkdir -p ${PKG}/usr/share/gocode/src/github.com/dotcloud/docker
-cp -a . ${PKG}/usr/share/gocode/src/github.com/dotcloud/docker/
-
# back out this commit, which causes btrfs headers to not be found on slackware
# since btrfs-progs removes the <btrfs/ioctl.h> header.
# https://github.com/dotcloud/docker/commit/6922f1be08111d889b0585b763b08f92d7a55e05
patch -p1 -R < $CWD/docker-btrfs.patch
+mkdir -p ${PKG}/usr/share/gocode/src/github.com/dotcloud/docker
+cp -a . ${PKG}/usr/share/gocode/src/github.com/dotcloud/docker/
+
GOPATH=${PKG}/usr/share/gocode:$(pwd)/vendor \
DOCKER_GITCOMMIT="$GITHASH" \
./hack/make.sh dynbinary