symlink somehow breaks on cygwin
This commit is contained in:
2
rc
2
rc
@@ -62,7 +62,7 @@ TOOLS_TO_UPDATE=1
|
||||
[[ -w "$TOOLSPATH"/.lastupdate ]] || TOOLS_TO_UPDATE=0
|
||||
|
||||
if [ $TOOLS_TO_UPDATE -eq 1 ]; then
|
||||
TOOLS_LASTUPDATE=$( "$TOOLSPATH"/bin/file-age "$TOOLSPATH"/.lastupdate d )
|
||||
TOOLS_LASTUPDATE=$( "$TOOLSPATH"/files/file-age "$TOOLSPATH"/.lastupdate d )
|
||||
[[ "$TOOLS_LASTUPDATE" -gt 7 ]] && _self_update
|
||||
unset TOOLS_LASTUPDATE
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user