pathof : possibilité d'ajouter des modules dans les noms
This commit is contained in:
parent
cf34f0499d
commit
94819fd529
1 changed files with 3 additions and 1 deletions
|
@ -34,5 +34,7 @@ trap - EXIT
|
||||||
|
|
||||||
# Print the actual string
|
# Print the actual string
|
||||||
basedir="${HOME}/${basedir}"
|
basedir="${HOME}/${basedir}"
|
||||||
|
name="$QEMUSH_NAME"
|
||||||
|
[ -n "$2" ] && name="${name}-${2}"
|
||||||
[ -n "$extension" ] && extension=".${extension}"
|
[ -n "$extension" ] && extension=".${extension}"
|
||||||
printf %s/%s%s\\n "$basedir" "$QEMUSH_NAME" "$extension"
|
printf %s/%s%s\\n "$basedir" "$name" "$extension"
|
||||||
|
|
Loading…
Reference in a new issue