You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Replace paths in the demo files. Note: This handles paths like './asset.png' and 'asset.png'.
46
+
sed -i.bak "s|\(['\"(]\)\(\./\)*${asset_name}\(['\")']\)|\1${PROD_URL_BASE}/${asset_name}\3|g""${JSFIDDLE_DIR}/demo.js""${JSFIDDLE_DIR}/demo.html""${JSFIDDLE_DIR}/demo.css"
47
+
done
48
+
49
+
rm -f "${JSFIDDLE_DIR}"/*.bak # Clean up backup files created by sed.
44
50
45
51
# Remove region tags from files by type, since they all have different comment conventions.
46
52
# We use a conditional here since sed behaves differently on Linux.
0 commit comments