#!/bin/bash # Just a script that concatenates all of the files in js.s to js.js source build.conf if [ -f "$OUTPUT" ]; then rm "$OUTPUT" fi for JS in `find ./js.d -name "*.js" -exec echo {} \; | sort`; do cat $JS >> "$OUTPUT" echo ";" >> "$OUTPUT" done