]> git.tuebingen.mpg.de Git - gsu.git/commitdiff
Unify gsu_dir handling.
authorAndre Noll <maan@tuebingen.mpg.de>
Sun, 31 Aug 2014 19:01:02 +0000 (21:01 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Tue, 2 Sep 2014 19:45:37 +0000 (21:45 +0200)
The three locations which include the common part of gsu need to know
the gsu installation directory. Currently we rely on the application
to set $gsu_dir. This is unnecessary since gsu can tell where it is
installed by examining ${BASH_SOURCE[0]}.

Also the fallback to $HOME/.gsu is not required. This commit unifies
all three locations and also calls _gsu_setup as early as possible:
when the gsu module is sourced.


No differences found