diff options
Diffstat (limited to 'net-dialup/mgetty/files/mgetty-1.1.36-tmpfile.patch')
-rw-r--r-- | net-dialup/mgetty/files/mgetty-1.1.36-tmpfile.patch | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/net-dialup/mgetty/files/mgetty-1.1.36-tmpfile.patch b/net-dialup/mgetty/files/mgetty-1.1.36-tmpfile.patch index e8f5c7e245f9..68f6f58868d7 100644 --- a/net-dialup/mgetty/files/mgetty-1.1.36-tmpfile.patch +++ b/net-dialup/mgetty/files/mgetty-1.1.36-tmpfile.patch @@ -1,7 +1,7 @@ diff -Nru mgetty-1.1.36.orig/fax/faxspool.in mgetty-1.1.36/fax/faxspool.in ---- mgetty-1.1.36.orig/fax/faxspool.in 2008-08-31 13:06:48.000000000 +0000 -+++ mgetty-1.1.36/fax/faxspool.in 2008-09-07 09:44:01.000000000 +0000 -@@ -675,9 +675,7 @@ +--- mgetty-1.1.36.orig/fax/faxspool.in 2008-12-09 23:12:31.000000000 +0000 ++++ mgetty-1.1.36/fax/faxspool.in 2008-12-09 23:13:28.000000000 +0000 +@@ -675,9 +675,8 @@ if [ x$file = x- ] then $echo "spooling $file (stdin)..." @@ -9,10 +9,11 @@ diff -Nru mgetty-1.1.36.orig/fax/faxspool.in mgetty-1.1.36/fax/faxspool.in - cat - >/tmp/faxsp.$$ - file=/tmp/faxsp.$$ + file=$spooldir/faxsp ++ cat - > $file else $echo "spooling $file..." fi -@@ -924,7 +922,7 @@ +@@ -924,7 +923,7 @@ then $echo "\nnothing to do (no cover page, no data)." >&2 cd $FAX_SPOOL_OUT @@ -21,7 +22,7 @@ diff -Nru mgetty-1.1.36.orig/fax/faxspool.in mgetty-1.1.36/fax/faxspool.in exit 52 fi -@@ -965,7 +963,7 @@ +@@ -965,7 +964,7 @@ # clean up rm $job.q cd .. |