Przeglądaj źródła

Show only sub-commands starting with SATURNIN_LIBEXEC_PREFIX

This was always intended; sub-commands starting with dedicated prefix
is the mandatory convention.
Alois Mahdal 7 lat temu
rodzic
commit
4387831ec8
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1
    0
      src/saturnin.sh.skel

+ 1
- 0
src/saturnin.sh.skel Wyświetl plik

@@ -235,6 +235,7 @@ saturnin__lssc() {
235 235
         -mindepth 1 \
236 236
         -maxdepth 1 \
237 237
         -executable \
238
+        -name "$SATURNIN_LIBEXEC_PREFIX*" \
238 239
       | sed -e "s|^.*/||; s|^$SATURNIN_LIBEXEC_PREFIX||" \
239 240
       | sort
240 241
 }