Closed hlapp closed 7 years ago
how do you run link.sh? script can't change the working dir of the calling script, unless it is sourced like:
. path/to/link.sh
@nightwing you are correct, I can avoid this being an issue by simply running in its own subshell. Will close this.
The script changes directory, but then never comes up to where it started from, which is a problem if executed from another script (which presumably this script is supposed to be, e.g., as a replacement for
install.sh
). This fixes that.