Correction d'un bug dans le script ligne 86 base decimale forcée (#3528)
This commit is contained in:
parent
0bab6f939f
commit
bbe505ed41
@ -83,7 +83,7 @@ if [ "$#" = 1 ] && [ "$1" = "-h" ]; then
|
|||||||
help
|
help
|
||||||
elif [ "$#" = 1 ] && [ "$1" = "-p" ]; then
|
elif [ "$#" = 1 ] && [ "$1" = "-p" ]; then
|
||||||
if [ "$(date +%m)" -gt 1 ]; then
|
if [ "$(date +%m)" -gt 1 ]; then
|
||||||
precedingMonth="$(($(date +%m)-1))"
|
precedingMonth="$((10#$(date +%m)-1))"
|
||||||
year="$(date +%Y)"
|
year="$(date +%Y)"
|
||||||
if [ $precedingMonth -lt 10 ]; then
|
if [ $precedingMonth -lt 10 ]; then
|
||||||
month="${year}0$precedingMonth"
|
month="${year}0$precedingMonth"
|
||||||
|
Loading…
Reference in New Issue
Block a user