diff options
author | Patrick Stadler <patrick.stadler@gmail.com> | 2013-12-03 09:52:51 +0100 |
---|---|---|
committer | Patrick Stadler <patrick.stadler@gmail.com> | 2013-12-03 09:52:51 +0100 |
commit | 858c515df2d8ce1f75ac3d505f77a71984653929 (patch) | |
tree | 5da546fe47279c16dfab8d5865a71132879cfdb6 /tools | |
parent | 4e34588a5b2e48c4ce901f47ed4c1a6b753c6926 (diff) | |
download | zsh-858c515df2d8ce1f75ac3d505f77a71984653929.tar.gz zsh-858c515df2d8ce1f75ac3d505f77a71984653929.tar.bz2 zsh-858c515df2d8ce1f75ac3d505f77a71984653929.zip |
source ~/.profile only if it exists
Diffstat (limited to 'tools')
-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 |