Skip to content
This repository has been archived by the owner on Jan 30, 2025. It is now read-only.

Commit

Permalink
Fix #43, remove dot from temporary files and folders templates
Browse files Browse the repository at this point in the history
  • Loading branch information
jsamr committed Apr 4, 2019
1 parent 9efdcbf commit 092df6e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bootiso
Original file line number Diff line number Diff line change
Expand Up @@ -959,9 +959,9 @@ checkPackages() {
createMountFolder() {
typeset tmpFileTemplate
if ((EUID == 0)); then
tmpFileTemplate="$mountRoot/$1.XXX"
tmpFileTemplate="$mountRoot/$1-XXX"
else
tmpFileTemplate="$tempRoot/$1.XXX"
tmpFileTemplate="$tempRoot/$1-XXX"
fi
mktemp -d "$tmpFileTemplate"
typeset status=$?
Expand All @@ -971,7 +971,7 @@ createMountFolder() {
}

createTempFile() {
typeset tmpFileTemplate="$tempRoot/$1.XXX"
typeset tmpFileTemplate="$tempRoot/$1-XXX"
mktemp "$tmpFileTemplate"
typeset status=$?
if [ ! $status -eq 0 ]; then
Expand Down

0 comments on commit 092df6e

Please sign in to comment.