mybin

my ~/bin
git clone https://a3nm.net/git/mybin/
Log | Files | Refs | README

commit 5cb9bfdc4170d54f7058e20a1e39765c0afc02ee
parent 88906145be8ea0bca6f0fcb2b58818883e759746
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Mon,  2 Jan 2017 14:15:26 +0100

shut up the first time

Diffstat:
svn-poll | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/svn-poll b/svn-poll @@ -51,7 +51,10 @@ if [[ -f "$FILE" ]] then SEEN=$(cat "$FILE") else - SEEN=0 + # the first time, shut up and just store the current revision + echo "$LATEST" > "$FILE" + echo "" > "$ERRORS" + exit 0 fi if [[ "$SEEN" == "$LATEST" ]]