-
Notifications
You must be signed in to change notification settings - Fork 146
Closed
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomersinvestigatingThe project developers are looking into this caseThe project developers are looking into this case
Description
Describe the bug
Slackware version of mktemp has no support to extra values before the XXXXXX tag.
Fix suggestion
Remove the .tempdir part from mktemp arguments in temp_directory declaration.
To Reproduce
- Run the script on a Slackware 14.2 box
- See error
Teminal output
# ./woeusb-5.1.0.bash
mktemp: cannot make temp dir /tmp/WoeUSB.XXXXXX.tempdir: Invalid argument
The command "temp_directory=$(
mktemp -d -t WoeUSB.XXXXXX.tempdir
)" failed with exit status "1", program is prematurely aborted
$ mktemp -V
mktemp version debianutils-2.7
Environment
- OS: Slackware 14.2
- Bash: GNU bash, version 4.3.48(1)-release (x86_64-slackware-linux-gnu)
- WoeUSB: 5.1.0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomersinvestigatingThe project developers are looking into this caseThe project developers are looking into this case