projects
/
app.mailtrimmer
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e785067
)
src/strip.vala
author
Alan Knowles
<alan@roojs.com>
Fri, 27 Apr 2018 09:01:02 +0000
(17:01 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 27 Apr 2018 09:01:02 +0000
(17:01 +0800)
src/strip.vala
patch
|
blob
|
history
diff --git
a/src/strip.vala
b/src/strip.vala
index
88593cd
..
c9d9664
100644
(file)
--- a/
src/strip.vala
+++ b/
src/strip.vala
@@
-466,7
+466,9
@@
public class Strip : GLib.Object {
GLib.DirUtils.create_with_parents(dir, 0755);
}
GLib.debug("Creating file %s", target_fn);
- Posix.link(fn, target_fn);
+ if (!FileUtils.test (target_fn, FileTest.EXISTS)) {
+ Posix.link(fn, target_fn);
+ }
} else {
GLib.debug("Skipping extraction %s", target_fn);
}