commit before breaking cdist-build-host-cconfig

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-02-02 18:49:17 +01:00
parent b95eb84a98
commit f5124bb821

View file

@ -29,9 +29,6 @@
set -au set -au
# FIXME: Save output in cache -- or make flexible?
__cdist_output_dir="$(__cdist_cache_host)"
# prepend our path, so all cdist tools come before other tools # prepend our path, so all cdist tools come before other tools
PATH="${__cdist_cache_bin}:$PATH" PATH="${__cdist_cache_bin}:$PATH"
@ -40,9 +37,10 @@ if [ ! -x "${__cdist_manifest_init}" ]; then
__cdist_exit_err "${__cdist_manifest_init} needs to be executable." __cdist_exit_err "${__cdist_manifest_init} needs to be executable."
fi fi
# create output dir # create output dir ??
mkdir -p "$(__cdist_cache_host)" mkdir -p "$(__cdist_output_dir)"
# Create output / take manifest as argument?
"${__cdist_manifest_init}" "${__cdist_manifest_init}"
echo "Finished tree generation, have a look at ${__cdist_output_dir}." echo "Finished tree generation, have a look at ${__cdist_output_dir}."