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

Vars from cmdline dont get passed to include()ed scripts properly #37

Open
dwarfland opened this issue Jan 22, 2013 · 0 comments
Open

Comments

@dwarfland
Copy link
Member

mh: Carlo: would vars passed to train via -v be passed on different;y in included() scripts than those defined in the outer scriupt?
Carlo Kok: probably

mh: var developerFolder = "/Applications/Xcode44.app/Contents/Developer"; << this one makes it thru to the included script
include("$(GenerateTrainScript)"); << this one works form -v
processiOSSDK("5.1");

mh: ==
mh: try { if (hi); } catch(e) { hi = "./HeaderImporter.exe" } << this one gets overriden
try { if (developerFolder); } catch(e) { developerFolder="/Applications/Xcode.app/Contents/Developer" } << this one not

mh: that doesnt make sense, does it?
Carlo Kok: no it doesn't.
Carlo Kok: not at all
mh: trying to set hi inside the outer script now. if that makes a diff, we have a traun bug
mh: looks like it works, with hi set in script
mh: ie
mh: var hi = "/Users/mh/Code/git/oxygene/Source/HeaderImporter/bin/Debug/HeaderImporter.exe";

var developerFolder = "/Applications/Xcode46-DP4.app/Contents/Developer";

include("$(GenerateTrainScript)");

processiOSSDK("6.1");

mh: i'll log a train bug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant