diff options
| author | fuzzyray <fuzzyray@gentoo.org> | 2007-07-17 17:34:04 +0000 |
|---|---|---|
| committer | fuzzyray <fuzzyray@gentoo.org> | 2007-07-17 17:34:04 +0000 |
| commit | 36b8339ea2cd7a03e608c57b6c0d0584dff8867d (patch) | |
| tree | 9beafe8f712b136957ce91f81f028152a42e2a6f /trunk | |
| parent | 3553c304a3b7bf1abb3eb65d900f534ab05507fd (diff) | |
| download | gentoolkit-36b8339ea2cd7a03e608c57b6c0d0584dff8867d.tar.gz | |
Fix issue with --library hanging
svn path=/; revision=419
Diffstat (limited to 'trunk')
| -rwxr-xr-x | trunk/src/revdep-rebuild/revdep-rebuild-rewrite | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/trunk/src/revdep-rebuild/revdep-rebuild-rewrite b/trunk/src/revdep-rebuild/revdep-rebuild-rewrite index a76dce3..d6a3079 100755 --- a/trunk/src/revdep-rebuild/revdep-rebuild-rewrite +++ b/trunk/src/revdep-rebuild/revdep-rebuild-rewrite @@ -496,14 +496,14 @@ main_checks() { # FIXME: I hate duplicating code # Only rebuild for direct dependencies MISSING_LIBS=$( - expr="/$SONAME_SEARCH/s/^\([^[:space:]]*\).*$/\1/p" + expr="/$SONAME_SEARCH/s/^[[:space:]]*\([^[:space:]]*\).*$/\1/p" sort -u <<< "$ldd_output" | sed -n "$expr" ) REQUIRED_LIBS=$( expr='s/^[[:space:]]*NEEDED[[:space:]]*\([^[:space:]]*\).*/\1/p'; objdump -x "$FILE" | sed "$expr" | sort -u ) - MISSING_LIBS=$(grep -F "$REQUIRED_LIBS") + MISSING_LIBS=$(grep -F "$REQUIRED_LIBS" <<< "$MISSING_LIBS") if [[ $MISSING_LIBS ]]; then echo "obj $FILE" >> "$LIST.3_rebuild" if [[ $SEARCH_BROKEN ]]; then |
