Skip to content
This repository was archived by the owner on Aug 1, 2024. It is now read-only.

Commit eea72a9

Browse files
committed
Don't include path to depswriter.py, since it may vary, causing noise in source control.
Fixes #149 ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=101626615
1 parent 56866c8 commit eea72a9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

closure/bin/build/depswriter.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,8 @@ def main():
201201
else:
202202
out = sys.stdout
203203

204-
out.write('// This file was autogenerated by %s.\n' % sys.argv[0])
204+
out.write(('// This file was autogenerated by %s.\n' %
205+
os.path.basename(__file__)))
205206
out.write('// Please do not edit.\n')
206207

207208
out.write(MakeDepsFile(path_to_source))

0 commit comments

Comments
 (0)