[object Object]

← back to Dw Install Docs

chore: build.sh nullglob guard (session close)

d720554b1a4448157926bc41599ae1fa96c6b8b4 · 2026-07-10 17:20:29 -0700 · Steve

Files touched

Diff

commit d720554b1a4448157926bc41599ae1fa96c6b8b4
Author: Steve <steve@designerwallcoverings.com>
Date:   Fri Jul 10 17:20:29 2026 -0700

    chore: build.sh nullglob guard (session close)
---
 build.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/build.sh b/build.sh
index a1e4eb9..65db5ff 100755
--- a/build.sh
+++ b/build.sh
@@ -9,6 +9,7 @@ CHROME="/Applications/Google Chrome.app/Contents/MacOS/Google Chrome"
 
 mkdir -p dist
 
+shopt -s nullglob  # empty sources/ → skip loop instead of rendering a literal "sources/*.html"
 for html in sources/*.html; do
   base="$(basename "$html" .html)"
   case "$base" in

← cbf404e add info@ canned-reply system (responses.json + send.mjs) wi  ·  back to Dw Install Docs  ·  (newest)