diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-05-26 22:11:51 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-05-26 22:11:51 -0400 |
commit | ca6db7290cacee0d3b5ba836e6acea76ea314e50 (patch) | |
tree | 7cf3e4eda33335fdcc245d41e75a3b1602485266 /src/chroot-tools/librechroot | |
parent | b159a370e2b1458c8c3817bdf3cabe2a630732e3 (diff) |
redo the library system; avoid hard-coded paths
* install all library files to $(libexecdir)/libretools, instead of
- $(bindir)
- $(datadir)/libretools
- $(datadir)/devtools
* symlink the executable library files into $(bindir)
* add the tool `librelib`
* instead of ". /path/to/lib.sh", use ". $(librelib lib.sh)"
* mark all libraries with shebangs of what options they support
* move blacklist.sh to libreblacklist
Diffstat (limited to 'src/chroot-tools/librechroot')
-rwxr-xr-x | src/chroot-tools/librechroot | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/chroot-tools/librechroot b/src/chroot-tools/librechroot index 5027938..5afce05 100755 --- a/src/chroot-tools/librechroot +++ b/src/chroot-tools/librechroot @@ -20,11 +20,11 @@ # You should have received a copy of the GNU General Public License # along with Parabola. If not, see <http://www.gnu.org/licenses/>. -. /usr/share/libretools/conf.sh +. $(librelib conf.sh) load_conf_libretools_chroot . libremessages -. /usr/share/devtools/makechrootpkg.sh +. $(librelib makechrootpkg) # Because the makechrootpkg.sh library functions don't work with -euE normshell() ( |