diff options
Diffstat (limited to 'bin/websync')
-rwxr-xr-x | bin/websync | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/bin/websync b/bin/websync index 0d89f9d..bcb2e52 100755 --- a/bin/websync +++ b/bin/websync @@ -278,11 +278,10 @@ while [ -e "${UPDATEREQUIRED}" ]; do done -if [ -d "`dirname "${TO}/${TRACE}"`" ]; then - LC_ALL=POSIX LANG=POSIX date -u > "${TO}/${TRACE}" - echo "Used websync version: ${VERSION}" >> "${TO}/${TRACE}" - echo "Running on host: $(hostname -f)" >> "${TO}/${TRACE}" -fi +mkdir -p "${TO}/.project/trace" +LC_ALL=POSIX LANG=POSIX date -u > "${TO}/${TRACE}" +echo "Used websync version: ${VERSION}" >> "${TO}/${TRACE}" +echo "Running on host: $(hostname -f)" >> "${TO}/${TRACE}" HOOK=( HOOKNR=3 |