summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 a442fef79f..13e8310f39 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