summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Vosmaer <jacob@gitlab.com>2019-08-20 17:43:39 +0000
committerDouwe Maan <douwe@gitlab.com>2019-08-20 17:43:39 +0000
commit4bfbf9bf460cb5154e320e3f29efe11a90daa6e0 (patch)
tree1856d87a852ce9dc78b9f9ebe1f0e0ba862483a5
parent19da8838e5ad38b353453232b25a5011fe1eceb8 (diff)
downloadgitlab-shell-4bfbf9bf460cb5154e320e3f29efe11a90daa6e0.tar.gz
Fix bin/compile in GDK
-rwxr-xr-xbin/compile2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/compile b/bin/compile
index f206528..229b8fd 100755
--- a/bin/compile
+++ b/bin/compile
@@ -8,7 +8,7 @@ include GoBuild
def main
ensure_build_dir_exists
- run!(GO_ENV, %W[go install ./cmd/...], chdir: GO_DIR)
+ run!(GO_ENV, %W[go install ./cmd/...], chdir: File.join(ROOT_PATH, GO_DIR))
executables = Dir[File.join(BUILD_DIR, 'bin', '*')]
FileUtils.chmod(0755, executables)
FileUtils.cp(executables, File.join(ROOT_PATH, 'bin'))