After further investigation it is specifically the "dirname $0" that is causing the issue, and appears to be related to the terminal I'm using. As if I run gnome-terminal this works as expected but with terminator it doesn't.
gnome-terminal $ dirname $0 . terminator $ dirname $0 /bin -- 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 [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
