From 9ee95b551b2437840e2d13129191fb57a28f7289 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sun, 10 Apr 2016 21:52:06 -0400 Subject: commit before switching to direct mode --- .local/bin/config-path | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to '.local/bin') diff --git a/.local/bin/config-path b/.local/bin/config-path index 4b7cccb..dcac0e8 100755 --- a/.local/bin/config-path +++ b/.local/bin/config-path @@ -52,6 +52,7 @@ main() { var_init PATH var_init MANPATH var_init LD_LIBRARY_PATH + var_init PKG_CONFIG_PATH var_init RUBYLIB var_init PERL5LIB @@ -60,13 +61,14 @@ main() { var_add PATH "$prefix/bin" "$prefix/sbin" var_add MANPATH "$prefix/share/man" var_add LD_LIBRARY_PATH "$prefix"/lib{,32,64} + var_add PKG_CONFIG_PATH "$prefix"/lib{,32,64}/pkgconfig var_add RUBYLIB "$prefix"/lib{,32,64} var_add PERL5LIB "$prefix"/lib{,32,64}/perl5 done # Finally, print the values lines=() - for var in PATH MANPATH LD_LIBRARY_PATH RUBYLIB PERL5LIB; do + for var in PATH MANPATH LD_LIBRARY_PATH PKG_CONFIG_PATH RUBYLIB PERL5LIB; do lines+=("$(var_done "$var")") done shopt -s extglob -- cgit v1.2.3-54-g00ecf