pathof : créer le dossier s'il n'existe pas avant de l'afficher
This commit is contained in:
parent
d8fc13cff8
commit
90c376df40
1 changed files with 3 additions and 1 deletions
|
@ -16,5 +16,7 @@ case "$1" in
|
|||
;;
|
||||
esac
|
||||
|
||||
# Print the base dir and the name of the VM
|
||||
# Create the base dir if it doesn't exist and print the path of the
|
||||
# ressource
|
||||
mkdir -p -- "$path"
|
||||
printf %s/%s\\n "$path" "$QEMUSH_NAME"
|
||||
|
|
Loading…
Reference in a new issue