We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fec8dc9 commit 00b975eCopy full SHA for 00b975e
Makefile
@@ -1,9 +1,11 @@
1
-if [-z "${GIT_BRANCH}"]
2
- GIT_BRANCH=`$(shell git rev-parse --abbrev-ref HEAD)`
3
-fi
4
-if [-z "${USER}"]
5
- USER=`whoami`
6
+ifeq ($(GIT_BRANCH), "")
+ GIT_BRANCH=`$(shell git rev-parse --abbrev-ref HEAD)`
+endif
+
+ifeq ($(USER), "")
+ USER=`whoami`
7
8
9
STAGING_URL="https://docs-mongodborg-staging.corp.mongodb.com"
10
PRODUCTION_URL="https://docs.mongodb.com"
11
STAGING_BUCKET=docs-mongodb-org-staging
0 commit comments