Make mktemp invocations portable.
This commit is contained in:
parent
30385e717e
commit
b65ea15514
9 changed files with 46 additions and 38 deletions
|
@ -51,8 +51,8 @@ list_parts () {
|
|||
echo
|
||||
}
|
||||
|
||||
imgfile=`mktemp`
|
||||
outfile=`mktemp`
|
||||
imgfile=`mktemp "${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"` || exit 1
|
||||
outfile=`mktemp "${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"` || exit 1
|
||||
|
||||
#
|
||||
# MSDOS partition types
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue