-
Notifications
You must be signed in to change notification settings - Fork 87
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
Changed repo_dir variable to be uppercase #511
Conversation
It seems we could also remove it, since apparently things work without it. |
Looking quickly now, It seems totally reasonable to rename for passing to the Linux container - the user should probably expect to set REPO_DIR instead of repo_dir, given that would be the active variable name for e.g. the Mac builds. But - I wonder whether there is someone out there who is setting if [ -n "$repo_dir" ]; then
echo 'Warning - please use variable name REPO_DIR rather than repo_dir'
echo 'In future, repo_dir will have no effect, and we will only use REPO_DIR'
echo 'For now, setting REPO_DIR to repo_dir'
REPO_DIR=$repo_dir
fi |
Transitioning away from Lines 282 to 284 in 4eb8556
multibuild/travis_linux_steps.sh Lines 28 to 44 in 4eb8556
|
In practice before now, yes, because the In theory though, you can specify any |
Thanks @radarhere |
In
build_multilinux
, I would expectrepo_dir
to be uppercase, referring to the environment variable, rather than lowercase, referring to a non-existent local variable.multibuild/travis_linux_steps.sh
Lines 66 to 104 in 4eb8556
A local
repo_dir
variable was originally added in 09555a6, but was effectively removed in 3998141