X-Git-Url: https://git.cyclocoop.org/?p=lhc%2Fateliers.git;a=blobdiff_plain;f=local%2Flib.sh;h=8ae40695367896b31bc2ab5e79545b7ec1dec64c;hp=4f000acd1709b9fb87318f2ca869252aec595b72;hb=a11ad78672a096632b15a660509d7dd5f7c5eae5;hpb=0d705d8e2a919ee40866307aa3e18b1a5c4e7583 diff --git a/local/lib.sh b/local/lib.sh index 4f000ac..8ae4069 100644 --- a/local/lib.sh +++ b/local/lib.sh @@ -1,3 +1,6 @@ . "$tool"/etc/local.sh -set -x -test "$(hostname --fqdn)" = "$local_fqdn" +. "$tool"/lib/log.sh +assert 'test "$(hostname --fqdn)" = "$local_fqdn"' + +export TRACE=${TRACE-set} +test "$TRACE" = '' || set -x