-
Notifications
You must be signed in to change notification settings - Fork 46
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
Fixes https://www.nsnam.org/bugzilla/show_bug.cgi?id=2098 #9
Conversation
|
I was planing to make those variables (i.e., DCE_ROOT, DCE_PATH) invisible because they sometimes made users confused. I would like to know why those custom locations for dce binaries are useful: then this patch will get on the venue. btw, if you would update wutils.py, you also need to update test.py as it also refers DCE_ROOT etc. |
|
As you had advised me on the mailing list, I used to symlink my binaries in bin_dce but everytime I did a ./waf clean I had to redo the symlinks which is quite annoying since I see no way to automate this. Using DCE_PATH makes my programs loaded all the time and if I want to change the version of the program loaded, it's immediate to do |
|
My guess is that environments variables are often upper case and as the variable is presented in the documentation, people assumed it was an envionrment variable they could use as they use PATH. Problem is as it gets overriden, it didn't work hence the confusion. This patch would also clear the confusion I think. |
|
I switched to the "master" branch for some testing and DCE could not find my binaries anymore. I updated the patch to modify test.py as well. Hope this can get merged. |
|
thanks for the request.
|
cd527d1
to
c5615ff
Compare
|
I don't know the .rst format so I kept the changes to minimal. |
|
Thanks. one more (two?) thing.
The bugfix will be appeared in the next release. |
|
done |
|
thanks, applied. |
The documentation (https://www.nsnam.org/docs/dce/manual/html/dce-user-newapps.html) says "Copy the executable file produced in a specified directory in the variable environment DCE_PATH so that DCE can find it. (FIXME: to be updated)" but wutils.py was overriding the user DCE_PATH and DCE_ROOT. This patch prepends the user exported values for these 2 environment variables.
The documentation (https://www.nsnam.org/docs/dce/manual/html/dce-user-newapps.html) says
"Copy the executable file produced in a specified directory in the
variable environment DCE_PATH so that DCE can find it. (FIXME: to be
updated)" but wutils.py was overriding the user DCE_PATH and DCE_ROOT.
This patch prepends the user exported values for these 2 environment
variables.