ensure failing if manifest or gencode break

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-02-17 16:26:48 +01:00
commit ff41ce0318
5 changed files with 25 additions and 16 deletions

View file

@ -23,10 +23,8 @@
#
. cdist-config
if [ $# -ne 2 ]; then
__cdist_usage "<target host> <outdir>"
fi
[ $# -eq 2 ] || __cdist_usage "<target host> <outdir>"
set -e
export __cdist_target_host="$1"; shift
export __cdist_output_dir="$1"; shift