summaryrefslogtreecommitdiff
path: root/sh
diff options
context:
space:
mode:
Diffstat (limited to 'sh')
-rw-r--r--sh/gendepends.sh.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/sh/gendepends.sh.in b/sh/gendepends.sh.in
index f78f3d3..461c688 100644
--- a/sh/gendepends.sh.in
+++ b/sh/gendepends.sh.in
@@ -53,8 +53,8 @@ do
# Only generate dependencies for runscripts
read one two three <"$RC_SERVICE"
- [ "$one" = "#!@PREFIX@/sbin/runscript" ] || \
- [ "$one" = "#!" -a "$two" = "@PREFIX@/sbin/runscript" ] || \
+ [ "$one" = "#!@SBINDIR@/runscript" ] || \
+ [ "$one" = "#!" -a "$two" = "@SBINDIR@/runscript" ] || \
continue
unset one two three