-
-
Notifications
You must be signed in to change notification settings - Fork 244
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
add small shell script wrapping port
from local sources
#204
base: master
Are you sure you want to change the base?
Conversation
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.
Strictly speaking, in autotools-based builds, the source directory is not always the build directory, so the tclsh and port executables may actually be located in a subfolder.
However, since out-of-tree building is broken in MacPorts anyway, I'm willing to ignore this.
Ping? |
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.
Being able to run port from the source directory without installing it would be useful for testing. Does this really work? Does it load all of its support files from the source directory, or are there still files it loads from the installation prefix?
I'll try to run it in
I'll see if I can fix this easily. |
a8de8b8
to
2447a82
Compare
Okay, I've adjusted the script so that it's generated by I've added a small sandbox profile that actively prevents accessing the installed sources, and |
bafd610
to
c5364e5
Compare
This makes the installed path equivalent to the built path.
I wanted to test out some changes without upgrading my current installation. This minor script allowed me to do so.