Mercurial > piecrust2
view util/generate_messages.sh @ 628:14c51f5accc9
admin: Fix crashes when creating a new page.
* Use proper default values when the user doesn't provide any.
* Make sure the new page's directory exists.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Mon, 08 Feb 2016 23:28:39 -0800 |
parents | f14796cbab0f |
children |
line wrap: on
line source
#!/bin/sh CUR_DIR="$( cd "$( dirname "$0" )" && pwd )" CHEF=${CUR_DIR}/../bin/chef OUT_DIR=${CUR_DIR}/../piecrust/resources/messages ROOT_DIR=${CUR_DIR}/messages $CHEF --root=$ROOT_DIR bake -o $OUT_DIR rm ${OUT_DIR}/index.html