aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2012-09-25 01:06:13 +0000
committerEvan Huus <eapache@gmail.com>2012-09-25 01:06:13 +0000
commitb409efefce97d21fdd7fc5c390f6e9ac32c7a309 (patch)
tree3305873922462a48b7c16535ae90f9ec991ab2fe /tools
parent410fdcd0651a7379f9c577e532adf0508ac65810 (diff)
Touch the file in make-dissector-reg.py if it hasn't changed, so that
we don't try and regenerate it every single subsequent build. Also, add modelines. svn path=/trunk/; revision=45117
Diffstat (limited to 'tools')
-rwxr-xr-xtools/make-dissector-reg.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/tools/make-dissector-reg.py b/tools/make-dissector-reg.py
index 53140e3154..fe0e9a02d9 100755
--- a/tools/make-dissector-reg.py
+++ b/tools/make-dissector-reg.py
@@ -297,5 +297,19 @@ try:
fh.close()
else:
print(final_filename + ' unchanged.')
+ os.utime(final_filename, None)
except OSError:
sys.exit('Unable to write ' + final_filename + '.\n')
+
+#
+# Editor modelines - http://www.wireshark.org/tools/modelines.html
+#
+# Local variables:
+# c-basic-offset: 8
+# tab-width: 8
+# indent-tabs-mode: t
+# End:
+#
+# vi: set shiftwidth=8 tabstop=8 noexpandtab:
+# :indentSize=8:tabSize=8:noTabs=false:
+#