File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -351,9 +351,8 @@ function take_dependency_from_path() {
351
351
do
352
352
lookup_symbol " $depname " " $testversion " " $arch " " $symbol " && return 0
353
353
done
354
+ Log_Verbose " Symbol $symbol not found, will resort to $depname $depversion as fallback"
354
355
fi
355
-
356
- Log_Verbose " Symbol $symbol not found, will resort to $depname $depversion as fallback"
357
356
echo " $depname $depversion "
358
357
else
359
358
# We have a path, but we don't have a link to that file under /System/Index.
@@ -365,8 +364,11 @@ function take_dependency_from_path() {
365
364
depname=$( echo " $fullpath " | cut -d/ -f3)
366
365
testversion=$( echo " $fullpath " | cut -d/ -f4)
367
366
[ -z " $depversion " ] && depversion=" $testversion "
368
- Log_Verbose " Looking for symbol on candidate file $candidate ($depname , $testversion )"
369
- lookup_symbol " $depname " " $testversion " " $arch " " $symbol " && return 0
367
+ if [ " $symbol " ]
368
+ then
369
+ Log_Verbose " Looking for symbol on candidate file $candidate ($depname , $testversion )"
370
+ lookup_symbol " $depname " " $testversion " " $arch " " $symbol " && return 0
371
+ fi
370
372
done
371
373
372
374
# We don't have a match. If we have a file name that satisfies the path but
You can’t perform that action at this time.
0 commit comments