add arguments to sub-scripts

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2010-09-30 20:14:42 +02:00
parent fb76e81f17
commit 36522e2e39
1 changed files with 7 additions and 4 deletions

View File

@ -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"