Consistent variable use in build scripts

This commit is contained in:
Christian Mäder
2019-02-06 12:30:08 +01:00
parent 1c42f14bf0
commit c7ab15f914
3 changed files with 30 additions and 3 deletions

View File

@@ -11,7 +11,7 @@ else
GITHUB_OAUTH_PARAMS=""
fi
ORIGINAL_GITHUB_REPO="digitalocean/netbox"
ORIGINAL_GITHUB_REPO="${SRC_ORG-digitalocean}/${SRC_REPO-netbox}"
GITHUB_REPO="${GITHUB_REPO-$ORIGINAL_GITHUB_REPO}"
URL_RELEASES="https://api.github.com/repos/${GITHUB_REPO}/branches?${GITHUB_OAUTH_PARAMS}"