summaryrefslogtreecommitdiffstats
path: root/find-libdeps.in
diff options
context:
space:
mode:
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 7a3e6f5..35094d5 100644
--- a/find-libdeps.in
+++ b/find-libdeps.in
@@ -13,7 +13,7 @@ if [[ $1 = "--ignore-internal" ]]; then
shift
fi
-script_mode=${0##*/find-lib}
+script_mode=${BASH_SOURCE[0]##*/find-lib}
case $script_mode in
deps|provides) true;;