1 |
Author: fuzzyray |
2 |
Date: 2009-05-01 14:39:55 +0000 (Fri, 01 May 2009) |
3 |
New Revision: 566 |
4 |
|
5 |
Modified: |
6 |
trunk/src/revdep-rebuild/revdep-rebuild |
7 |
Log: |
8 |
Add patch from kojiro to improve bash syntax |
9 |
|
10 |
Modified: trunk/src/revdep-rebuild/revdep-rebuild |
11 |
=================================================================== |
12 |
--- trunk/src/revdep-rebuild/revdep-rebuild 2009-04-30 21:56:34 UTC (rev 565) |
13 |
+++ trunk/src/revdep-rebuild/revdep-rebuild 2009-05-01 14:39:55 UTC (rev 566) |
14 |
@@ -749,7 +749,7 @@ |
15 |
if [[ $depend = /* && ! -e $depend ]]; then |
16 |
echo "obj $target_file" >> "$BROKEN_FILE" |
17 |
echo_v " broken $target_file (requires $depend)" |
18 |
- elif [[ $depend = "-L/"* || $depend = "-R/"* ]]; then |
19 |
+ elif [[ $depend = -[LR]/* ]]; then |
20 |
if ! [[ $'\n'${la_SEARCH_DIRS}$'\n' == *$'\n'${depend#-?}$'\n'* ]]; then |
21 |
la_SEARCH_DIRS+=$'\n'"${depend#-?}" |
22 |
fi |