summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build.sh3
-rw-r--r--build_native.sh3
2 files changed, 4 insertions, 2 deletions
diff --git a/build.sh b/build.sh
index 3bd3809..42d1675 100644
--- a/build.sh
+++ b/build.sh
@@ -1,6 +1,7 @@
#!/bin/bash
-cat js/*.js > exp.js
+rm exp.js
+find js -name '*.js' -exec cat {} \; >> exp.js
echo >> exp.js
echo "main();" >> exp.js
diff --git a/build_native.sh b/build_native.sh
index 12ec3b9..44e1d45 100644
--- a/build_native.sh
+++ b/build_native.sh
@@ -1,6 +1,7 @@
#!/bin/bash
-cat js/*.js > exp.js
+rm exp.js
+find js -name '*.js' -exec cat {} \; >> exp.js
echo >> exp.js
echo "main();" >> exp.js