Closed GoogleCodeExporter closed 8 years ago
Correction: use /tmp/ only if $TMPDIR is *not* defined; otherwise use $TMPDIR.
Original comment by ryandesi...@gmail.com
on 1 Dec 2014 at 7:56
Thanks for the report, I've been meaning to fix that and finally got an
incentive :).
Should be fixed by
https://code.google.com/p/winetricks/source/detail?r=a3bff9004e13dc2d163c57689d4
df2578d512797
Original comment by austinenglish@gmail.com
on 6 Dec 2014 at 12:28
Thanks, but although I'm sure that works with the version of mktemp provided by
GNU coreutils, it doesn't work with the BSD-derived version of mktemp provided
by OS X:
$ ./winetricks
usage: mktemp [-d] [-q] [-t prefix] [-u] template ...
mktemp [-d] [-q] [-u] -t prefix
mkdir: /w.rschmidt.10630/metadata/apps: Permission denied
mkdir: /w.rschmidt.10630/metadata/benchmarks: Permission denied
mkdir: /w.rschmidt.10630/metadata/dlls: Permission denied
mkdir: /w.rschmidt.10630/metadata/fonts: Permission denied
mkdir: /w.rschmidt.10630/metadata/games: Permission denied
mkdir: /w.rschmidt.10630/metadata/settings: Permission denied
./winetricks: line 2216: /early_wine.err.txt: Permission denied
cat: /early_wine.err.txt: No such file or directory
------------------------------------------------------
wine cmd.exe /c echo '%ProgramFiles%' returned empty string, error message ""
------------------------------------------------------
BSD mktemp requires either a template or a prefix. I always use a template. I
would use something like:
mktemp -d "${TMPDIR:-/tmp}/winetricks.XXXXXXXX"
This works with both BSD and GNU mktemp.
Original comment by ryandesi...@gmail.com
on 6 Dec 2014 at 3:47
https://code.google.com/p/winetricks/source/detail?r=3eb3f879de0e0559761777e92f3
6c18ac437d7cc
Original comment by austinenglish@gmail.com
on 6 Dec 2014 at 11:32
Original issue reported on code.google.com by
ryandesi...@gmail.com
on 1 Dec 2014 at 7:55