diff --git a/Makefile b/Makefile index cc41b37..51685c2 100644 --- a/Makefile +++ b/Makefile @@ -25,7 +25,7 @@ remove_json: find pkg/ -name '*.json' -delete move_ee_to_secret_dir: - if (git describe | grep -q -w ee); then \ + if support/is_gitlab_ee.sh ; then \ mv pkg ${SECRET_DIR} \ && mkdir pkg \ && mv ${SECRET_DIR} pkg/ \ diff --git a/support/is_gitlab_ee.sh b/support/is_gitlab_ee.sh new file mode 100755 index 0000000..10a15e1 --- /dev/null +++ b/support/is_gitlab_ee.sh @@ -0,0 +1,2 @@ +#!/bin/bash +[[ -n $ee ]] || grep -q '^source.*"git@gitlab.com:subscribers/gitlab-ee.git"' config/software/gitlab-rails.rb -- libgit2 0.21.2