Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1471)

Unified Diff: build/symlink.py

Issue 2341153002: Make symlink.py always updates the symlink timestamp (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/symlink.gni ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/symlink.py
diff --git a/build/symlink.py b/build/symlink.py
index 5a261dcad93e1bddc77b42312f552a12dc8c131f..0009150cc1e863b7c8facc3906eac67569412a7f 100755
--- a/build/symlink.py
+++ b/build/symlink.py
@@ -36,7 +36,7 @@ def Main(argv):
if len(sources) == 1 and not os.path.isdir(target):
t = target
t = os.path.expanduser(t)
- if os.path.realpath(t) == s:
+ if os.path.realpath(t) == s and not options.force:
continue
try:
os.symlink(s, t)
« no previous file with comments | « build/symlink.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698