summaryrefslogtreecommitdiff
path: root/find-libdeps.in
diff options
context:
space:
mode:
authorLevente Polyak <anthraxx@archlinux.org>2019-01-22 03:10:08 +0100
committerLevente Polyak <anthraxx@archlinux.org>2019-01-22 03:32:50 +0100
commit799376904de77c2fb862fc559c60489b37e72232 (patch)
treeca9e2eae1633f17c0f1a55c45ec3cbb0d38f2565 /find-libdeps.in
parent8310abb3485bdf63fc3557e3020a43f9f9e03927 (diff)
downloaddevtools-799376904de77c2fb862fc559c60489b37e72232.tar.xz
find-libdeps: in functions use return instead of continue to abort
Even if continue would work, it does exactly the same as a return in the way this function is being used.
Diffstat (limited to 'find-libdeps.in')
-rw-r--r--find-libdeps.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/find-libdeps.in b/find-libdeps.in
index 1fb1fdf..ce92a4e 100644
--- a/find-libdeps.in
+++ b/find-libdeps.in
@@ -46,7 +46,7 @@ process_sofile() {
# extract the major version: 1
soversion="${sofile##*\.so\.}"
if [[ "$soversion" = "$sofile" ]] && ((IGNORE_INTERNAL)); then
- continue
+ return
fi
if ! in_array "${soname}=${soversion}-${soarch}" "${soobjects[@]}"; then
# libfoo.so=1-64