diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-02-27 20:12:38 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-02-27 20:12:38 -0500 |
commit | 4e802e740bb2f7c6891271d3eaab39768360e261 (patch) | |
tree | 52cd247d9ffabab2f5cfb9f7821fbafbb27678f7 /.config/login.d/00_path.sh | |
parent | bd42aa1b31e2e41cac7ac2ffa6edc05e04354815 (diff) | |
parent | d09fa8687ee01dcb4ef540deb106b8531f56b403 (diff) |
Merge branch 'master' into build64-par/master
Diffstat (limited to '.config/login.d/00_path.sh')
-rw-r--r-- | .config/login.d/00_path.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/.config/login.d/00_path.sh b/.config/login.d/00_path.sh index 2d5f4a5..ae2e8db 100644 --- a/.config/login.d/00_path.sh +++ b/.config/login.d/00_path.sh @@ -1,8 +1,12 @@ #!/hint/sh +eval "$( if type config-path &>/dev/null; then config_path=config-path else # Bootstrap finding config-path config_path="$HOME/.local/bin/config-path" fi -eval "$(IFS=$'\n'; lines=($("$config_path")); printf -- 'export %s\n' "${lines[@]}")" +IFS=$'\n' +lines=($("$config_path")) +printf -- 'export %s\n' "${lines[@]}" +)" |