Browse Source

Correction d'un bug dans le script ligne 86 base décimale forcée (#3529)

chapril-1.2.1
Didier Clermonté 2 years ago
committed by root
parent
commit
6688d8153d
  1. 2
      tools/rapport_activite.sh

2
tools/rapport_activite.sh

@ -83,7 +83,7 @@ if [ "$#" = 1 ] && [ "$1" = "-h" ]; then
help
elif [ "$#" = 1 ] && [ "$1" = "-p" ]; then
if [ "$(date +%m)" -gt 1 ]; then
precedingMonth="$(($(date +%m)-1))"
precedingMonth="$((10#$(date +%m)-1))"
year="$(date +%Y)"
if [ $precedingMonth -lt 10 ]; then
yearMonth="$year-0$precedingMonth"

Loading…
Cancel
Save