symlink somehow breaks on cygwin

This commit is contained in:
q
2017-02-16 21:51:09 +02:00
parent 8319620a84
commit 1a2bfdf8bd

2
rc
View File

@@ -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