-
Notifications
You must be signed in to change notification settings - Fork 2
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
Apt with --root to save OSGEO4W_ROOT in shell environment #57
Comments
my way of using apt is either inside a OSGEO-Shell, so the variable is set or i set it by --root. Without that, how do we find the correct directory? |
What I meant is I'd like to allow the following usage:
Instead of the current:
or more commonly:
|
Why bother? I ask myself, where does the urge come from? ...and when I really look it it's simply because I don't like typing |
So true, but, though i didn't tested it, i think setting a env var in a python script, the variable doen't stay in the calling environment after the python sxcript ended. But may be i'm wrong here... |
checked it like this: Win7-Cmd:
this shows, that after scripts end, the environment variable myvar does not exist! May be there are other possibilities... |
Would be nice if
apt --root={...} --bits=64 setup
saved the OSGEO4W_ROOT var in the shell so that we can just carry on with the next steps in the same session. Otherwise we have to keep re-using --root in every invocation which is a pain, leading to usingset osgeo...
at the beginning of a session, which leads to the --root parameter being not used, which is another way of saying "essentially useless". ;-)The text was updated successfully, but these errors were encountered: