summaryrefslogtreecommitdiff
path: root/trunk
diff options
context:
space:
mode:
authorfuzzyray <fuzzyray@gentoo.org>2009-05-01 14:39:55 +0000
committerfuzzyray <fuzzyray@gentoo.org>2009-05-01 14:39:55 +0000
commitc077663eda8dfa604e72d6bca349355b29ddaa0b (patch)
treee6f4387fdbaaa05a1374c3addafb85558730e81f /trunk
parentAdded support for project-wide variables as suggested in bug 213374. Improved... (diff)
downloadgentoolkit-c077663eda8dfa604e72d6bca349355b29ddaa0b.tar.gz
gentoolkit-c077663eda8dfa604e72d6bca349355b29ddaa0b.tar.bz2
gentoolkit-c077663eda8dfa604e72d6bca349355b29ddaa0b.zip
Add patch from kojiro to improve bash syntax
svn path=/; revision=566
Diffstat (limited to 'trunk')
-rwxr-xr-xtrunk/src/revdep-rebuild/revdep-rebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/trunk/src/revdep-rebuild/revdep-rebuild b/trunk/src/revdep-rebuild/revdep-rebuild
index 5177a52..72efba0 100755
--- a/trunk/src/revdep-rebuild/revdep-rebuild
+++ b/trunk/src/revdep-rebuild/revdep-rebuild
@@ -749,7 +749,7 @@ main_checks() {
if [[ $depend = /* && ! -e $depend ]]; then
echo "obj $target_file" >> "$BROKEN_FILE"
echo_v " broken $target_file (requires $depend)"
- elif [[ $depend = "-L/"* || $depend = "-R/"* ]]; then
+ elif [[ $depend = -[LR]/* ]]; then
if ! [[ $'\n'${la_SEARCH_DIRS}$'\n' == *$'\n'${depend#-?}$'\n'* ]]; then
la_SEARCH_DIRS+=$'\n'"${depend#-?}"
fi