Don't indent empty lines when creating browser version
This prevents having lines with nothing but 4 spaces in the output.
This commit is contained in:
parent
889563a0ae
commit
e75f21dc8f
2
Makefile
2
Makefile
|
@ -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…
Reference in a new issue