|
@@ -22,7 +22,7 @@ saturnin_lssc() {
|
22
|
22
|
-mindepth 1 \
|
23
|
23
|
-maxdepth 1 \
|
24
|
24
|
-executable \
|
25
|
|
- | sed -e 's/.*saturnin-//' \
|
|
25
|
+ | sed -e "s|^.*/||; s|^$SATURNIN_LIBEXEC_PREFIX||" \
|
26
|
26
|
| sort
|
27
|
27
|
}
|
28
|
28
|
|
|
@@ -46,7 +46,9 @@ saturnin_runhook() {
|
46
|
46
|
}
|
47
|
47
|
|
48
|
48
|
saturnin_runsc() {
|
49
|
|
- local lexpath="$SATURNIN_LIBEXEC/saturnin-$SATURNIN_SUBCOMMAND"
|
|
49
|
+ local lexpath
|
|
50
|
+ lexpath+="$SATURNIN_LIBEXEC/"
|
|
51
|
+ lexpath+="$SATURNIN_LIBEXEC_PREFIX$SATURNIN_SUBCOMMAND"
|
50
|
52
|
debug -v lexpath
|
51
|
53
|
debug "\$*='$*'"
|
52
|
54
|
test -x "$lexpath" || {
|