You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sci-chemistry/vmd/files/vmd-1.9.4-tmpdir.patch

12 lines
398 B

--- a/scripts/vmd/chemical2vmd.old 2020-09-09 18:40:56.795215443 +0200
+++ b/scripts/vmd/chemical2vmd 2020-09-09 18:41:09.648348701 +0200
@@ -61,7 +61,7 @@
# Make a temp. file to store the load command
-$ENV{'TMPDIR'} = '/usr/tmp' if !$ENV{'TMPDIR'};
+$ENV{'TMPDIR'} = '/tmp' if !$ENV{'TMPDIR'};
sub tmpfile {
local ($tempfile) = $ENV{'TMPDIR'} . '/chemical2vmd.' . $$;
local ($i);