Defensive line in gen script
Getty Ritter
9 years ago
1 | |
#!/bin/bash
|
| 1 |
#!/bin/bash -e
|
2 | 2 |
|
| 3 |
mkdir -p output/{index,about,tags,tag,archive,posts}
|
3 | 4 |
GEN='guile ./generator/generate.scm'
|
4 | 5 |
${GEN} index posts/$(ls -t posts/ | head -n 1)
|
5 | 6 |
${GEN} about
|