diff options
author | Robby Russell <robby@planetargon.com> | 2013-12-03 12:51:00 -0800 |
---|---|---|
committer | Robby Russell <robby@planetargon.com> | 2013-12-03 12:51:00 -0800 |
commit | 6fa64b7199ca79d85e8bfb5367d74d41c8a4e200 (patch) | |
tree | 5da546fe47279c16dfab8d5865a71132879cfdb6 /tools/check_for_upgrade.sh | |
parent | 4e34588a5b2e48c4ce901f47ed4c1a6b753c6926 (diff) | |
parent | 858c515df2d8ce1f75ac3d505f77a71984653929 (diff) | |
download | zsh-6fa64b7199ca79d85e8bfb5367d74d41c8a4e200.tar.gz zsh-6fa64b7199ca79d85e8bfb5367d74d41c8a4e200.tar.bz2 zsh-6fa64b7199ca79d85e8bfb5367d74d41c8a4e200.zip |
Merge pull request #2296 from pstadler/master
check_for_upgrade.sh: source ~/.profile only if it exists
Diffstat (limited to 'tools/check_for_upgrade.sh')
-rw-r--r-- | tools/check_for_upgrade.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/check_for_upgrade.sh b/tools/check_for_upgrade.sh index 14d294328..0f8c9c391 100644 --- a/tools/check_for_upgrade.sh +++ b/tools/check_for_upgrade.sh @@ -20,7 +20,7 @@ if [[ -z "$epoch_target" ]]; then epoch_target=13 fi -[ ~/.profile ] && source ~/.profile +[ -f ~/.profile ] && source ~/.profile if [ -f ~/.zsh-update ] then |