correction détection argument
This commit is contained in:
parent
c60ce76101
commit
355c7d858d
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@
|
||||||
tempdir="$(mktemp -d)"
|
tempdir="$(mktemp -d)"
|
||||||
|
|
||||||
# on vérifie s'il y a un argument passé à notre script
|
# on vérifie s'il y a un argument passé à notre script
|
||||||
if "$1"
|
if [ -n "$1" ]
|
||||||
then
|
then
|
||||||
# si oui, on l'utilise comme path ou aller taffer
|
# si oui, on l'utilise comme path ou aller taffer
|
||||||
source_path="$1"
|
source_path="$1"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue