From 7cb275d7bc5c1f17d49c37f230d6f5d727bac61b Mon Sep 17 00:00:00 2001 From: Remco Wendt Date: Tue, 3 Dec 2013 11:20:29 +0100 Subject: [PATCH] Fix file check --- tools/check_for_upgrade.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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