pminstaller and mktemp

Users and developers helping users with generic and technical Pale Moon issues on all operating systems.

Moderator: trava90

Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
marcdw

pminstaller and mktemp

Unread post by marcdw » 2014-05-01, 04:36

On Vector Linux (Slack 13.37-based) I think I used pminstaller 0.1 to install PM4Linux 24.4.1.
Today I was going to go up to 24.4.2 (before finding out about v25) using 0.1.1 and it kept failing.
Tried 0.1.2 and it also failed. This was during the mktemp portion of the shell.
A little checking I see that mktemp was failing because the directory name to be generated needs six Xs instead
of the five used in the script ( pminstaller.XXXXX ).
The six Xs is mentioned in the man page for mktemp.

I see that pminstaller 0.1 didn't use mktemp. When I get back into Debian and the Xubuntu machines I'll see if
their mktemp behaves the same. If so then we're missing an X I think.

Marc

access2godzilla

Re: pminstaller and mktemp

Unread post by access2godzilla » 2014-05-01, 07:46

I get a successful tempdir creation regardless of how many X's I put. In Debian and CentOS, even 3 X's work. Anyway, I can afford a one byte increase to the script.

Locked