diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2017-02-11 18:49:51 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2017-02-11 18:49:51 -0500 |
commit | e72c0dd2e8909019cfa6118353652b2299f0d16c (patch) | |
tree | ee5f5455fd0f46064fec2bbc92b345d38b575e73 /.local/bin/config-path | |
parent | 83c71bfd686ae36b0483a8278303de7e5fe4924d (diff) | |
parent | 0283ec58b3f4e179c0d8f57e5fc9ecb6e7750e17 (diff) |
Merge branch 'master' into gluglugt60-par/master
Diffstat (limited to '.local/bin/config-path')
-rwxr-xr-x | .local/bin/config-path | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.local/bin/config-path b/.local/bin/config-path index 1894fba..74748f7 100755 --- a/.local/bin/config-path +++ b/.local/bin/config-path @@ -53,6 +53,7 @@ main() { var_init PATH var_init MANPATH var_init LD_LIBRARY_PATH + var_init PKG_CONFIG_PATH var_init RUBYLIB var_init PERL5LIB @@ -61,13 +62,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 |