diff --git a/striker-ui/Makefile.am b/striker-ui/Makefile.am index de2ccf3a..bb149172 100644 --- a/striker-ui/Makefile.am +++ b/striker-ui/Makefile.am @@ -14,6 +14,7 @@ outpages = \ index.html \ init.html \ login.html \ + mail-config.html \ manage-element.html \ server.html outjsmodulesdir = _next diff --git a/striker-ui/lsxdist b/striker-ui/lsxdist index d31c46d0..e9d024f5 100755 --- a/striker-ui/lsxdist +++ b/striker-ui/lsxdist @@ -18,17 +18,24 @@ # and # * removes leading "./" and append "\" +PPATH="${BASH_SOURCE[0]}" +PNAME="$(basename "$PPATH")" + found=$(find . \ - -mindepth 1 -maxdepth 1 \ - -not \( -name node_modules -prune \) \ - -not \( -name *git* -prune \) \ - -not \( -name *husky* -prune \) \ - -not \( -name public -prune \) \ - -not \( -name *[Mm]ake* -prune \) \ - -not \( -name [.]env[.]* -prune \) \ - -not \( -name "*$(basename ${BASH_SOURCE[0]})*" -prune \) \ + -mindepth 1 \ + -maxdepth 1 \ + -not \( -name "node_modules" -prune \) \ + -not \( -name "*git*" -prune \) \ + -not \( -name "*husky*" -prune \) \ + -not \( -name "public" -prune \) \ + -not \( -name "*[Mm]ake*" -prune \) \ + -not \( -name "[.]env[.]*" -prune \) \ + -not \( -name "*$PNAME*" -prune \) \ -not \( -name ".next" -prune \) \ - | sed -E 's@^./(.+)$@\1 \\@') + -not \( -name "out" -prune \) \ +) + +found=$(sed -E 's@^./(.+)$@\1 \\@' <<< "$found") sorted=$(sort <<< "$found")