summaryrefslogtreecommitdiffstats
path: root/scripts/get-syncthing.sh
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2017-05-16 12:07:51 +0200
committerSebastien Douheret <sebastien.douheret@iot.bzh>2017-05-17 14:43:52 +0200
commit63f550ad8dc0061b1e010138d7fbbb55318550d4 (patch)
tree9767239bb66a3a2ff9d7b41a517faa0e765a4882 /scripts/get-syncthing.sh
parent40a7183f3b4aa32379aa8b4949f5f9c5e32f79f6 (diff)
Add AGL specfic scripts
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to 'scripts/get-syncthing.sh')
-rwxr-xr-xscripts/get-syncthing.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/get-syncthing.sh b/scripts/get-syncthing.sh
index 8bc5346..6eb9c5b 100755
--- a/scripts/get-syncthing.sh
+++ b/scripts/get-syncthing.sh
@@ -31,7 +31,7 @@ tarball="syncthing-linux-amd64-v${SYNCTHING_VERSION}.tar.gz" \
&& grep -E " ${tarball}\$" sha1sum.txt.asc | sha1sum -c - \
&& rm sha1sum.txt.asc \
&& tar -xvf "$tarball" --strip-components=1 "$(basename "$tarball" .tar.gz)"/syncthing \
- && mv syncthing ${DESTDIR}/syncthing
+ && mv syncthing ${DESTDIR}/syncthing || exit 1
echo "Get Syncthing-inotify..."