[PATCH 2/4] Skip all Makefiles and the liveinst subdirectory in 'make updates'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 scripts/makeupdates |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/scripts/makeupdates b/scripts/makeupdates
index 659d6c7..f6b51c5 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,))
-- 
1.6.2.5

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux