summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortimp <timp>2003-05-07 18:55:36 +0000
committertimp <timp>2003-05-07 18:55:36 +0000
commit74f0466ce3edf3accf590372604a858009638728 (patch)
treeefb99f398b1af1d298e2cee849ada1191dd5be86
parent86650ffc94f555abc128f23de6e74a59fbb1bc68 (diff)
downloadanaconda-74f0466ce3edf3accf590372604a858009638728.tar.gz
anaconda-74f0466ce3edf3accf590372604a858009638728.tar.xz
anaconda-74f0466ce3edf3accf590372604a858009638728.zip
don't include .discinfo in the filelist to hardlink. It screws up the unified .discinfo. Oops
-rw-r--r--scripts/splittree.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/splittree.py b/scripts/splittree.py
index e932df41c..3a9fa3baa 100644
--- a/scripts/splittree.py
+++ b/scripts/splittree.py
@@ -180,16 +180,16 @@ and RPMs. Set to 1 to turn on."""
for i in range(self.bin_list[0], self.bin_list[-1] + 1):
if i == 1:
- p = os.popen('find %s -type f' % self.dist_dir, 'r')
+ p = os.popen('find %s -type f -not -name .discinfo' % self.dist_dir, 'r')
filelist = p.read()
p.close()
filelist = string.split(filelist)
-
+
p = os.popen('find %s -type d -not -name RPMS -not -name SRPMS' % self.dist_dir, 'r')
dirlist = p.read()
p.close()
dirlist = string.split(dirlist)
-
+
dont_create = []
# we need to clean up the dirlist first. We don't want everything yet
for j in range(0, len(dirlist)):