← back to Designer Wallcoverings
fix script: mask admin token in dry-run echoes + BSD-safe mktemp
e0e417a20f8b1e043b85e210e12ebe278920c18c · 2026-06-24 07:56:07 -0700 · Steve
Files touched
M pending-approval/fix-coastal-mist-BA469.sh
Diff
commit e0e417a20f8b1e043b85e210e12ebe278920c18c
Author: Steve <steve@designerwallcoverings.com>
Date: Wed Jun 24 07:56:07 2026 -0700
fix script: mask admin token in dry-run echoes + BSD-safe mktemp
---
pending-approval/fix-coastal-mist-BA469.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pending-approval/fix-coastal-mist-BA469.sh b/pending-approval/fix-coastal-mist-BA469.sh
index d7b61f47..a9cb6986 100755
--- a/pending-approval/fix-coastal-mist-BA469.sh
+++ b/pending-approval/fix-coastal-mist-BA469.sh
@@ -48,7 +48,7 @@ curl -s "${H_TOK[@]}" "$BASE/products/$PRODUCT_ID.json" \
say "1) Add full-res image as base64 attachment (Shopify hosts it on its CDN)"
[ -f "$NEW_IMAGE_FILE" ] || { echo "ERROR: image file not found: $NEW_IMAGE_FILE"; exit 1; }
-PAYLOAD="$(mktemp /tmp/cm-img.XXXXXX.json)"
+PAYLOAD="$(mktemp /tmp/cm-img.XXXXXX)" # BSD mktemp: X's must be at the end (no suffix)
python3 - "$NEW_IMAGE_FILE" "$NEW_IMAGE_ALT" > "$PAYLOAD" <<'PY'
import base64, json, sys
path, alt = sys.argv[1], sys.argv[2]
← e7a46161 auto-save: 2026-06-24T07:55:37 (8 files) — pending-approval/
·
back to Designer Wallcoverings
·
Coastal Mist live fix APPLIED + verified: real image, oil fi d436f9a2 →