mybin

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

commit c76a744b8e1e06c38bc5c24a5a4085360fccc1f5
parent 24862f2b46bdeda7a266aca2ada404ec0cdb1b75
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Wed, 10 Jan 2018 16:21:03 +0100

comments in deploy-sieve

Diffstat:
deploy-sieve | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/deploy-sieve b/deploy-sieve @@ -7,7 +7,7 @@ SCRIPT="$1/main.sieve" TESTS="$1/test.dat" CONFIG="$1/dovecot.conf" -while read test +grep -v '^#' "$TESTS" | while read test do FILE=$(echo "$test" | cut -d' ' -f1) FOLDER=$(echo "$test" | cut -d' ' -f2) @@ -25,7 +25,7 @@ do sieve-test -c "$CONFIG" "$SCRIPT" "$FILE" echo "expected: $EXPECTED" exit 1 -done < "$TESTS" +done echo "Passed all tests: `wc -l $TESTS`" rsync -av "$1/" "$LOCATION/"