aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlis.slawek <lis.slawek@5234894e-44cd-11de-9a4c-a76526a193c6>2010-11-23 09:13:43 +0000
committerBrian Dolbec <brian.dolbec@gmail.com>2010-12-29 18:52:10 -0800
commitc6b13ed1a42a641d26b403c19133dcdefb03df8b (patch)
treec776879cea9622bc0530cb5c086e4a445621a453
parentFixed scanning revdep config; minor fix in analyse function (diff)
downloadgentoolkit-c6b13ed1a42a641d26b403c19133dcdefb03df8b.tar.gz
gentoolkit-c6b13ed1a42a641d26b403c19133dcdefb03df8b.tar.bz2
gentoolkit-c6b13ed1a42a641d26b403c19133dcdefb03df8b.zip
Fixed checks for --library option
git-svn-id: http://genscripts.googlecode.com/svn/trunk/gentoolkit@489 5234894e-44cd-11de-9a4c-a76526a193c6
-rwxr-xr-xpym/gentoolkit/revdep_rebuild/revdep-rebuild.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/pym/gentoolkit/revdep_rebuild/revdep-rebuild.py b/pym/gentoolkit/revdep_rebuild/revdep-rebuild.py
index f8f67d6..ebc0c3b 100755
--- a/pym/gentoolkit/revdep_rebuild/revdep-rebuild.py
+++ b/pym/gentoolkit/revdep_rebuild/revdep-rebuild.py
@@ -99,8 +99,7 @@ def print_usage():
-h, --help Print this usage
-i, --ignore Ignore temporary files from previous runs (also won't create any)
-L, --library NAME Emerge existing packages that use the library with NAME
- --library=NAME NAME can be a full path to the library or a basic
- regular expression (man grep)
+ --library=NAME NAME can be a full or partial library name
-l, --no-ld-path Do not set LD_LIBRARY_PATH
-o, --no-order Do not check the build order
(Saves time, but may cause breakage.)
@@ -420,7 +419,7 @@ def find_broken(found_libs, system_libraries, to_check):
else:
for tc in to_check:
for f in found_libs:
- if tc in f and f+'|' not in sl:
+ if tc in f:# and f+'|' not in sl:
broken.append(found_libs.index(f))
return broken