Sourcing in the "export_modules_dir.sh" script causes $0 to be "bash" in
gnome-terminal and "/bin/bash" in terminator. When executing the script
$0 is ./export_modules_dir.sh as one would expect.

Since the script is being sourced in I don't think it dirname should be
used.

http://unix.stackexchange.com/questions/4650/determining-path-to-
sourced-shell-script

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1518106

Title:
  Using "$ source export_modules_dir.sh" causes the error "bash:
  /bin/build_paths.inc: No such file or directory"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1518106/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to