diff options
| author | Philipp Schafft <lion@lion.leolix.org> | 2016-06-19 11:27:43 +0000 |
|---|---|---|
| committer | Philipp Schafft <lion@lion.leolix.org> | 2017-03-27 02:11:20 +0000 |
| commit | 6e09b538393e02a84beca3dca55bd7c54ceaade8 (patch) | |
| tree | 395791ed0361df90ca026b5919b00a089869d4e5 /webgen | |
| parent | af8b482dfc507ad6580643c341c5c61aa7036ae5 (diff) | |
Feature: --setup now checks for the environment to be clear.
Diffstat (limited to 'webgen')
| -rwxr-xr-x | webgen | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -49,6 +49,11 @@ LANGUAGE='' # CODE: setup() { + if [ -e $TPLS -o -e Makefile ] + then + echo 'Error: Environment already initialized.' >&2 + exit 1 + fi mkdir $TPLS cd $TPLS touch \#section-index |
