projects
/
packages
/
rpm-build-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
357c6ac
)
Fallback to /tmp.
author
Arkadiusz Miśkiewicz
<arekm@maven.pl>
Sun, 14 Mar 2021 08:39:45 +0000
(09:39 +0100)
committer
Arkadiusz Miśkiewicz
<arekm@maven.pl>
Sun, 14 Mar 2021 08:39:45 +0000
(09:39 +0100)
rediff-patches.py
patch
|
blob
|
blame
|
history
diff --git
a/rediff-patches.py
b/rediff-patches.py
index beba06da881d2c0ba896385c51cc2efc9fbfe17e..d09c9ee93be8a4aac21e01088491f6acf1e118ee 100755
(executable)
--- a/
rediff-patches.py
+++ b/
rediff-patches.py
@@
-128,7
+128,10
@@
def main():
specfile = args.spec
appsourcedir = os.path.dirname(os.path.abspath(specfile))
specfile = args.spec
appsourcedir = os.path.dirname(os.path.abspath(specfile))
- tempdir = tempfile.TemporaryDirectory(dir="/dev/shm")
+ try:
+ tempdir = tempfile.TemporaryDirectory(dir="/dev/shm")
+ except FileNotFoundError as e:
+ tempdir = tempfile.TemporaryDirectory(dir="/tmp")
topdir = tempdir.name
builddir = os.path.join(topdir, 'BUILD')
topdir = tempdir.name
builddir = os.path.join(topdir, 'BUILD')
This page took
0.092544 seconds
and
4
git commands to generate.