but i get "file not found".
I tried . "../links.bash" and . '../links.bash' . I got on all methods the same result.
If i use the absolute path it works, but i don't want to use an absolute path.
install.bash is run from /home/username , where xterm is called from as well, executing ./scripts/source.bash , pwd still pointing at /home/username . So ../links will be looked for in /home , where it, of course, does not reside.
This "mess" shows again, that it may prove use- and helpful to - at least consider to - use absolute paths in script systems.