Don't indent empty lines when creating browser version

This prevents having lines with nothing but 4 spaces in the output.
redux
David Majda 10 years ago
parent 889563a0ae
commit e75f21dc8f

@ -104,7 +104,7 @@ browser:
for module in $(MODULES); do \
echo " modules.define(\"$$module\", function(module, require) {" >> $(BROWSER_FILE_DEV); \
sed -e 's/^/ /' lib/$$module.js >> $(BROWSER_FILE_DEV); \
sed -e 's/^\(..*\)$$/ \1/' lib/$$module.js >> $(BROWSER_FILE_DEV); \
echo ' });' >> $(BROWSER_FILE_DEV); \
echo '' >> $(BROWSER_FILE_DEV); \
done

Loading…
Cancel
Save