view bin/syn.sh @ 824:16200adbd4f0

work around exit code for no changes
author Jeff Hammel <k0scist@gmail.com>
date Tue, 07 Feb 2017 10:28:00 -0800
parents 570ace9ed7c2
children 6fd2b3b4fb01
line wrap: on
line source

#!/bin/bash

set -e

cd

silvermirror
hg pull

set +e
hg push  # will exit 1 on no changes found
set -e

ubuntu_updated.sh
~/bin/mirror-hg http://k0s.org/hg