summaryrefslogtreecommitdiffstats
path: root/scripts/makeupdates
diff options
context:
space:
mode:
authorDavid Cantrell <dcantrell@redhat.com>2009-09-03 16:51:23 -1000
committerDavid Cantrell <dcantrell@redhat.com>2009-09-04 09:42:42 -1000
commitb8b14a762b224001c9925807885930dff724447f (patch)
treea222d15a4d74041cb599779901c6cbc5dba63052 /scripts/makeupdates
parent210673e9790601d6068dbf053421efe30c13df21 (diff)
downloadanaconda-b8b14a762b224001c9925807885930dff724447f.tar.gz
anaconda-b8b14a762b224001c9925807885930dff724447f.tar.xz
anaconda-b8b14a762b224001c9925807885930dff724447f.zip
Skip all Makefiles and the liveinst subdirectory in 'make updates'
Diffstat (limited to 'scripts/makeupdates')
-rwxr-xr-xscripts/makeupdates5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/makeupdates b/scripts/makeupdates
index 659d6c716..f6b51c5d0 100755
--- a/scripts/makeupdates
+++ b/scripts/makeupdates
@@ -111,7 +111,7 @@ def copyUpdatedFiles(tag, updates, cwd):
fields = line.split()
file = fields[0]
- if file.endswith('.spec.in') or file.startswith('Makefile') or \
+ if file.endswith('.spec.in') or (file.find('Makefile') != -1) or \
file.endswith('.c') or file.endswith('.h') or \
file.endswith('.sh') or file == 'configure.ac':
continue
@@ -136,7 +136,8 @@ def copyUpdatedFiles(tag, updates, cwd):
subdir =='scripts' or subdir == 'command-stubs' or \
subdir == 'tests' or subdir == 'bootdisk' or \
subdir == 'docs' or subdir == 'fonts' or \
- subdir == 'utils' or subdir == 'gptsync':
+ subdir == 'utils' or subdir == 'gptsync' or \
+ subdir == 'liveinst':
continue
else:
sys.stdout.write("Including %s\n" % (file,))