2009-08-04 Ozan Çağlayan <ozan@pardus.org.tr>
* (operations/build.py): Really fix the abandoned file checking when
the path in pspec.xml and the actual path of a missed file intersects.
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
2009-08-04 Ozan Çağlayan <ozan@pardus.org.tr>
|
||||||
|
* (operations/build.py): Really fix the abandoned file checking when
|
||||||
|
the path in pspec.xml and the actual path of a missed file intersects.
|
||||||
|
|
||||||
2009-08-03 Fatih Aşıcı <fatih@pardus.org.tr>
|
2009-08-03 Fatih Aşıcı <fatih@pardus.org.tr>
|
||||||
* Make it possible to specify doc directory's name via destDir
|
* Make it possible to specify doc directory's name via destDir
|
||||||
parameter provided to pisitools.dodoc.
|
parameter provided to pisitools.dodoc.
|
||||||
|
|||||||
@@ -426,12 +426,14 @@ class Builder:
|
|||||||
for root, dirs, files in os.walk(install_dir):
|
for root, dirs, files in os.walk(install_dir):
|
||||||
for file_ in files:
|
for file_ in files:
|
||||||
already_in_package = False
|
already_in_package = False
|
||||||
fpath = pisi.util.join_path(root, file_) + '/'
|
fpath = pisi.util.join_path(root, file_)
|
||||||
for path in all_paths_in_packages:
|
for _path in all_paths_in_packages:
|
||||||
if not fpath.find(path):
|
if os.path.isdir(_path) and not _path.endswith("/"):
|
||||||
|
_path = _path + "/"
|
||||||
|
if not fpath.find(_path):
|
||||||
already_in_package = True
|
already_in_package = True
|
||||||
if not already_in_package:
|
if not already_in_package:
|
||||||
abandoned_files.append(fpath.rsplit("/", 1)[0])
|
abandoned_files.append(fpath)
|
||||||
|
|
||||||
return abandoned_files
|
return abandoned_files
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user