Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f32cd684f..086d43dd7 100644
--- a/Makefile
+++ b/Makefile
@@ -54,8 +54,9 @@ build: .ruby-bundle $(TARGET_SETUP)
go install $(GO_LDFLAGS) $(COMMAND_PACKAGES)
cp $(foreach cmd,$(COMMANDS),$(BIN_BUILD_DIR)/$(cmd)) $(BUILD_DIR)/
+BUNDLE_PATH ?= vendor/bundle
.ruby-bundle: ruby/Gemfile.lock ruby/Gemfile
- if test -z "${BUNDLE_PATH}" ; then cd ruby && bundle config --local path vendor/bundle; fi
+ cd ruby && bundle config --local path ${BUNDLE_PATH}
cd ruby && bundle install
touch $@