clone.sh: avoid set -e trip ups
commit691beb42d0a17c4e2ff86fda9959a063396b8572
authorKyle J. McKay <mackyle@gmail.com>
Wed, 8 Nov 2017 23:48:14 +0000 (8 15:48 -0800)
committerKyle J. McKay <mackyle@gmail.com>
Wed, 8 Nov 2017 23:48:14 +0000 (8 15:48 -0800)
tree3ffa37af3e70e51eb5c0f9de34598e52287494c0
parentfafea5bdf8ac5c3d5051573c4e7fea830e46a2ca
clone.sh: avoid set -e trip ups

The pattern "test condition" && "do sommething" is not
safe when running under a "set -e" environment because
when the test fails the "set -e" will trigger.

Instead use "! test condition" || "do something" which
is just about as succinct but does not trigger any
unwanted "set -e" failures.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
jobd/gc.sh