summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2007-10-31 17:52:07 -0400
committerAli Saidi <saidi@eecs.umich.edu>2007-10-31 17:52:07 -0400
commita06604db1d62b0146a9aefc98c9fd66c4f0e16ba (patch)
tree0a631754e88179ba562ca5b969bc7d615e66186a
parent1b82d537741ffdd99f0b678bde0f1ac15bf9168b (diff)
downloadgem5-a06604db1d62b0146a9aefc98c9fd66c4f0e16ba.tar.xz
Release: fix make_release bug
--HG-- extra : convert_revision : 4317e5909f23e2b8bf6e8407f0df10fad34e9e35
-rwxr-xr-xutil/make_release.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/util/make_release.py b/util/make_release.py
index b6c5f08fa..fafea133c 100755
--- a/util/make_release.py
+++ b/util/make_release.py
@@ -172,7 +172,8 @@ def remove_lines(s_regex, e_regex, f):
for line in inscript:
if (not skipping and s_regex.match(line)) or \
(e_regex and skipping and not e_regex.match(line)):
- skipping = True
+ if e_regex:
+ skipping = True
continue
skipping = False
outscript.write(line)