fwknop: Fix compilation
[termux-packages] / packages / python / Lib-tmpfile.py.patch
CommitLineData
f849a015
FF
1diff -u -r ../Python-3.4.3/Lib/tempfile.py ./Lib/tempfile.py
2--- ../Python-3.4.3/Lib/tempfile.py 2015-02-25 06:27:44.000000000 -0500
3+++ ./Lib/tempfile.py 2015-07-21 19:58:07.631659902 -0400
4@@ -124,7 +124,7 @@
5 if _os.name == 'nt':
6 dirlist.extend([ r'c:\temp', r'c:\tmp', r'\temp', r'\tmp' ])
7 else:
8- dirlist.extend([ '/tmp', '/var/tmp', '/usr/tmp' ])
9+ dirlist.extend([ '@TERMUX_PREFIX@/tmp' ])
10
11 # As a last resort, the current directory.
12 try: