X-Git-Url: https://git.cyclocoop.org/?p=lhc%2Fateliers.git;a=blobdiff_plain;f=remote%2Flib.sh;h=f896727441677558aa3071a2d6c4334eddf4a71a;hp=c87432d7cf0913aa427f229f512a3fa068a7de75;hb=HEAD;hpb=0d705d8e2a919ee40866307aa3e18b1a5c4e7583 diff --git a/remote/lib.sh b/remote/lib.sh index c87432d..f896727 100644 --- a/remote/lib.sh +++ b/remote/lib.sh @@ -1,4 +1,7 @@ -. "$tool"/etc/local.sh -set -x -test ! "$(hostname --fqdn)" = "$local_fqdn" -test ! "$(hostname --fqdn)" = "$local_host" +. "$tool"/etc/remote.sh +. "$tool"/lib/log.sh +#assert 'test ! "$(hostname --fqdn)" = "$local_fqdn"' +assert 'test ! "$(hostname --fqdn)" = "$local_host"' + +export TRACE=${TRACE-set} +test "$TRACE" = '' || set -x