-
-
Notifications
You must be signed in to change notification settings - Fork 334
Fix issue running scons using a symlink to scons.py in an scons-local dir #3271
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
Conversation
@@ -14,11 +14,14 @@ RELEASE VERSION/DATE TO BE FILLED IN LATER | |||
- Improve finding of Microsoft compiler: add a 'products' wildcard | |||
in case 2017 Build Tools only is installed as it is considered a separate | |||
product from the default Visual Studio | |||
- scons.py and sconsign.py stopped working if script called as a symlink |
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.
Change to "Fixed issue running scons-local when called via a symlink"
2 similar comments
src/CHANGES.txt
Outdated
@@ -14,11 +14,14 @@ RELEASE VERSION/DATE TO BE FILLED IN LATER | |||
- Improve finding of Microsoft compiler: add a 'products' wildcard | |||
in case 2017 Build Tools only is installed as it is considered a separate | |||
product from the default Visual Studio | |||
- Fixed issue running scons-local using a symlink to the scons.py in |
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.
oh is there and issue # for this, if so please reference?
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.
No, the report came in on irc and I don't see a GH issue for it.
Earlier fix to running with scons-local when the directory is a symlink (i.e. scons-local symlinked to scons-local-{versiontag} and invoked as scons-local/scons.py) broke running scons when the "executable" is a symlink. Restoring that behavior. This is dodgy to test reliably on a developer system, as the fallback mechansim to find a usable scons goes on to look for a system-installed scons, so it looked like it was working. I will add a test if I can figure out a good way. Signed-off-by: Mats Wichmann <mats@linux.com>
Signed-off-by: Mats Wichmann <mats@linux.com>
1f59bd9
to
74187aa
Compare
Can you make a test for this so we don't break it again going forward? |
Earlier fix to running with scons-local when the directory is a
symlink (i.e. scons-local symlinked to scons-local-{versiontag} and
invoked as scons-local/scons.py) broke running scons when the
"executable" is a symlink. Restoring that behavior.
This is dodgy to test reliably on a developer system, as the
fallback mechansim to find a usable scons goes on to look for
a system-installed scons, so it looked like it was working. I
will add a test if I can figure out a good way.
Signed-off-by: Mats Wichmann mats@linux.com
Contributor Checklist:
master/src/CHANGES.txt
directory (and read theREADME.txt
in that directory)