diff options
author | Case Duckworth | 2021-08-24 23:19:35 -0500 |
---|---|---|
committer | Case Duckworth | 2021-08-24 23:19:35 -0500 |
commit | dde4412bf0e6c82aba818658a8e36d44f30c8433 (patch) | |
tree | a3e5de70f2946425b3622e63568962c54e3b21a7 | |
parent | Initial (diff) | |
download | etc-dde4412bf0e6c82aba818658a8e36d44f30c8433.tar.gz etc-dde4412bf0e6c82aba818658a8e36d44f30c8433.zip |
Ensure GUIX_PROFILE/etc/profile is readable before sourcing
-rw-r--r-- | bash/guix.bash | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bash/guix.bash b/bash/guix.bash index 127afef..c259e5a 100644 --- a/bash/guix.bash +++ b/bash/guix.bash | |||
@@ -1,3 +1,4 @@ | |||
1 | export GUIX_PROFILE="$HOME/.config/guix/current" | 1 | export GUIX_PROFILE="$HOME/.config/guix/current" |
2 | 2 | ||
3 | . "$GUIX_PROFILE/etc/profile" | 3 | [ -r "$GUIX_PROFILE/etc/profile" ] && |
4 | . "$GUIX_PROFILE/etc/profile" | ||