From 36522e2e396cc1b08ccb5d25afcd5c49b3788575 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Thu, 30 Sep 2010 20:14:42 +0200 Subject: [PATCH] add arguments to sub-scripts Signed-off-by: Nico Schottelius --- bin/cdist-build | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/bin/cdist-build b/bin/cdist-build index db97accf..3290886b 100755 --- a/bin/cdist-build +++ b/bin/cdist-build @@ -23,8 +23,11 @@ . cdist-config -set -e +[ $# -eq 1 ] || __cdist_usage "target" -. cdist-preprocess -. cdist-compile -. cdist-link +set -e +set -x + +. cdist-preprocess "$1" +. cdist-compile "$1" +. cdist-link "$1"