Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Respect SKIP_GIT environment variable when building #191

Merged
merged 1 commit into from
Nov 25, 2019
Merged

Respect SKIP_GIT environment variable when building #191

merged 1 commit into from
Nov 25, 2019

Conversation

mattolenik
Copy link

Fixes issue #190

Copy link
Collaborator

@cimnine cimnine left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your PR and for reporting the issue!

build.sh Outdated

###
# fetching the source
###
if [ "${2}" != "--push-only" ] ; then
NETBOX_PATH="${NETBOX_PATH-.netbox}"
if [ "${2}" != "--push-only" ] && [ -z "$SKIP_GIT" ] ; then
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a very minor thing: Except for the $DRY prefixes this file uses the syntax with the curly braces, i.e. ${VARNAME}. Could you change the variable name here?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Certainly! Done

@cimnine cimnine added the bug This issue describes a confirmed bug. label Nov 25, 2019
@cimnine cimnine merged commit 34ce5be into netbox-community:master Nov 25, 2019
@mattolenik mattolenik deleted the fix-skip-git branch March 12, 2020 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue describes a confirmed bug.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants