-
Notifications
You must be signed in to change notification settings - Fork 198
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
Fix prerequisites.sh #2873
Fix prerequisites.sh #2873
Conversation
In case PRIVATE_REPOS is not defined, the script will exit with error. Using double brackets will take care of this case.
Codecov Report
@@ Coverage Diff @@
## master #2873 +/- ##
=======================================
Coverage 74.81% 74.81%
=======================================
Files 613 613
Lines 58512 58512
=======================================
Hits 43776 43776
Misses 10801 10801
Partials 3935 3935 Continue to review full report at Codecov.
|
scripts/testnet/prerequisites.sh
Outdated
@@ -56,7 +56,7 @@ fi | |||
cd $(dirname $ELRONDDIR) | |||
git clone git@github.com:ElrondNetwork/elrond-deploy-go.git | |||
|
|||
if [ $PRIVATE_REPOS -eq 1 ]; then | |||
if [[ $PRIVATE_REPOS -eq 1 ]]; then | |||
git clone git@github.com:ElrondNetwork/elrond-proxy-go.git |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you please take out this line outside of this if branch? elrond-proxy-go is no longer a private repo :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure :) done
The base branch was changed.
In case PRIVATE_REPOS is not defined, the script will exit with error. Using double brackets will take care of this case.