mybin

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

commit 506ce1c68693800682839913de4a1e441bbaed70
parent 30b2667b7444c1e05f225f9bae9ed32c65565932
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Mon, 26 Sep 2016 23:53:15 +0200

add retries file

Diffstat:
svn-poll | 1+
svn-poll-init | 2++
2 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/svn-poll b/svn-poll @@ -14,6 +14,7 @@ DIR="$HOME/temp/svn-poll/$BASE" FILE="$DIR/rev" MUTEFILE="$DIR/muted" URLFILE="$DIR/url" +RETRIES="$DIR/retries" mkdir -p "$DIR" diff --git a/svn-poll-init b/svn-poll-init @@ -8,6 +8,7 @@ BASE=$(base64 <<<"$URL") DIR="$HOME/temp/svn-poll/$BASE" FILE="$DIR/rev" URLFILE="$DIR/url" +RETRIES="$DIR/retries" mkdir -p "$DIR" @@ -16,4 +17,5 @@ LATEST="$(svn info "$URL" | grep Revision | cut -d' ' -f2)" echo "$LATEST" > "$FILE" # just for future reference echo "$URL" > "$URLFILE" +echo 0 > "$RETRIES"