summaryrefslogtreecommitdiff
path: root/usr/src/tools/scripts/hdrchk.py
diff options
context:
space:
mode:
authorRichard Lowe <richlowe@richlowe.net>2009-12-10 15:08:34 -0800
committerRichard Lowe <richlowe@richlowe.net>2009-12-10 15:08:34 -0800
commite7aca7349385967a98ed221ad54db99998d477e8 (patch)
tree144c418fa631a69986081dd758c447046d9696c8 /usr/src/tools/scripts/hdrchk.py
parent95fddab55b9e310853e6cd5cd514291ae1c9016f (diff)
downloadillumos-joyent-e7aca7349385967a98ed221ad54db99998d477e8.tar.gz
6880444 python code run from mercurial should be built with same python version
Diffstat (limited to 'usr/src/tools/scripts/hdrchk.py')
-rw-r--r--usr/src/tools/scripts/hdrchk.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/usr/src/tools/scripts/hdrchk.py b/usr/src/tools/scripts/hdrchk.py
index 7a165a40e5..0211673ea8 100644
--- a/usr/src/tools/scripts/hdrchk.py
+++ b/usr/src/tools/scripts/hdrchk.py
@@ -1,4 +1,4 @@
-#! /usr/bin/python
+#! /usr/bin/python2.4
#
# CDDL HEADER START
#
@@ -21,11 +21,9 @@
#
#
-# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# ident "%Z%%M% %I% %E% SMI"
-#
#
# Check header files conform to ON standards.
@@ -49,7 +47,7 @@ try:
opts, args = getopt.getopt(sys.argv[1:], 'a')
except getopt.GetoptError:
usage()
- sys.exit(2)
+ sys.exit(2)
lenient = False
for opt, arg in opts: