From f5124bb821c774cd4c0d5f22f1c3cb17180c5c33 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Wed, 2 Feb 2011 18:49:17 +0100 Subject: [PATCH] commit before breaking cdist-build-host-cconfig Signed-off-by: Nico Schottelius --- bin/cdist-build-host-cconfig | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/bin/cdist-build-host-cconfig b/bin/cdist-build-host-cconfig index 9c07efc6..0fb7817f 100755 --- a/bin/cdist-build-host-cconfig +++ b/bin/cdist-build-host-cconfig @@ -29,9 +29,6 @@ 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 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." fi -# create output dir -mkdir -p "$(__cdist_cache_host)" +# create output dir ?? +mkdir -p "$(__cdist_output_dir)" +# Create output / take manifest as argument? "${__cdist_manifest_init}" echo "Finished tree generation, have a look at ${__cdist_output_dir}."