The "job complete"-block now aligns properly for both summer and wintertime.

master
Taha Ahmed 7 years ago
parent fdff311703
commit 2c5b5cd2c3

@ -265,9 +265,19 @@ else
fi
# Depending on whether the clock uses summer or wintertime, the date string length
# will differ by one (CEST vs CET).
# Just to be neat, we will take this into consideration when constructing the
# "job completed" block below.
cetcest=$(date +%Z)
echo "-------------------------------------"
echo "=== chertex.sh completed ==="
echo "=== $(date) ==="
if [[ $cetcest == "CET" ]]; then
echo "=== $(date) ==="
else
echo "=== $(date) ==="
fi
echo "-------------------------------------"
simpledelay.sh 3

Loading…
Cancel
Save