view build/generate_messages.sh @ 98:5959a117a943

Exit with the proper code.
author Ludovic Chabant <ludovic@chabant.com>
date Mon, 08 Sep 2014 00:04:29 -0700
parents f485ba500df3
children 04e3da2dd969
line wrap: on
line source

#!/bin/sh

CUR_DIR="$( cd "$( dirname "$0" )" && pwd )"
CHEF=${CUR_DIR}/../bin/chef
OUT_DIR=${CUR_DIR}/../piecrust/res/messages
ROOT_DIR=${CUR_DIR}/messages

$CHEF --root=$ROOT_DIR bake -o $OUT_DIR
rm ${OUT_DIR}/index.html