diff options
author | Fredrik Appelberg <fredrik.appelberg@gmail.com> | 2011-02-25 09:59:13 +0100 |
---|---|---|
committer | Fredrik Appelberg <fredrik.appelberg@gmail.com> | 2011-02-25 09:59:13 +0100 |
commit | 0858eae3a123a512ec3049de4874c0a2a79d9fc8 (patch) | |
tree | 210466047e611414f2c7a02a88070bc622f439f5 /tools/check_for_upgrade.sh | |
parent | bbde258141acef4174f4e3184517af6705fd5939 (diff) | |
parent | 746a10368acd38d80cd35c2b97202a9187d58a05 (diff) | |
download | zsh-0858eae3a123a512ec3049de4874c0a2a79d9fc8.tar.gz zsh-0858eae3a123a512ec3049de4874c0a2a79d9fc8.tar.bz2 zsh-0858eae3a123a512ec3049de4874c0a2a79d9fc8.zip |
Merge branch 'master' of git://github.com/robbyrussell/oh-my-zsh
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 c59ebaed4..4643739ca 100644 --- a/tools/check_for_upgrade.sh +++ b/tools/check_for_upgrade.sh @@ -16,7 +16,7 @@ then _update_zsh_update && return 0; fi - epoch_diff=$((${_current_epoch} - $LAST_EPOCH)) + epoch_diff=$(($(_current_epoch) - $LAST_EPOCH)) if [ $epoch_diff -gt 6 ] then echo "[Oh My Zsh] Would you like to check for updates?" |