Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 8d4a954336
Fetching contributors…

Cannot retrieve contributors at this time

executable file 20 lines (15 sloc) 0.348 kB
#!/bin/bash
for out in `ls src/body_*.py`
do
echo $out
x=${out#src/body_}
x=${x%.py}
out=mongo_$x
echo "#!/usr/bin/env python" > $out
echo "" >> $out
echo "## GENERATED FILE - DO NOT EDIT" >> $out
cat src/header.py >> $out
cat src/body_$x.py >> $out
cat src/footer.py >> $out
chmod 755 $out
done
Jump to Line
Something went wrong with that request. Please try again.