21 lines
575 B
Diff
21 lines
575 B
Diff
|
--- local/fixproc
|
||
|
+++ local/fixproc
|
||
|
@@ -231,7 +231,7 @@
|
||
|
{
|
||
|
# it must be "shell", so execute the shell script defined in database
|
||
|
|
||
|
- local ($tmpfile) = "/tmp/fix_$$";
|
||
|
+ local ($tmpfile) = `mktemp /tmp/fix.XXXXXXXX`;
|
||
|
|
||
|
&create_sh_script ($fix{$proc}, $tmpfile);
|
||
|
|
||
|
@@ -262,7 +262,7 @@
|
||
|
# if not "exist", then it must be "shell", so execute the shell script
|
||
|
# defined in database
|
||
|
|
||
|
- local ($tmpfile) = "/tmp/check_$$";
|
||
|
+ local ($tmpfile) = `mktemp /tmp/check.XXXXXXXX`;
|
||
|
|
||
|
&create_sh_script ($check{$proc}, $tmpfile);
|
||
|
|