Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[LINUX] UrTUpdater_Ded.sh: tempfile not found #11

Open
db711 opened this issue Mar 15, 2018 · 1 comment
Open

[LINUX] UrTUpdater_Ded.sh: tempfile not found #11

db711 opened this issue Mar 15, 2018 · 1 comment

Comments

@db711
Copy link

db711 commented Mar 15, 2018

Running UrtUpdater_Ded.sh on Arch Linux i get the following error:

./UrTUpdater_Ded.sh: line 240: tempfile: command not found
./UrTUpdater_Ded.sh: line 242: : No such file or directory
cat: '': No such file or directory
./UrTUpdater_Ded.sh: line 240: tempfile: command not found
./UrTUpdater_Ded.sh: line 242: : No such file or directory
cat: '': No such file or directory

It appears that tempfile is not supported on non-Debian-based Linux distributions, like Arch.
I suggest replacing it with mktemp, which is part of the coreutils package.

@t3slider
Copy link
Contributor

See pull request #12

I'm preferring tempfile over mktemp if it exists because it has suffix support (newer versions of mktemp have suffix support via --suffix but this is not universal).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants