Ajout vérification paramètre
This commit is contained in:
parent
d8b0137fbd
commit
a177570799
1 changed files with 1 additions and 1 deletions
2
make.sh
2
make.sh
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
jour=0
|
jour=${1:-0}
|
||||||
while [ $jour -le 0 ] || [ $jour -ge 25 ]
|
while [ $jour -le 0 ] || [ $jour -ge 25 ]
|
||||||
do
|
do
|
||||||
read -p "Indiquez le jour à compiler : " jour
|
read -p "Indiquez le jour à compiler : " jour
|
||||||
|
|
Loading…
Reference in a new issue