From 929d33c310858ad01a2732e8a3be96f5623aba39 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Wed, 2 Feb 2011 21:32:18 +0100 Subject: [PATCH] reload binaries on manifest run Signed-off-by: Nico Schottelius --- bin/cdist-manifest-run | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/bin/cdist-manifest-run b/bin/cdist-manifest-run index 3a2c4058..d9269842 100755 --- a/bin/cdist-manifest-run +++ b/bin/cdist-manifest-run @@ -28,11 +28,14 @@ if [ $# -ne 2 ]; then __cdist_usage " " fi -set -au +set -aeu __cdist_output_dir="$1"; shift __cdist_manifest="$1"; shift +# Ensure binaries exist and are up-to-date +cdist-build-bin + # prepend our path, so all cdist tools come before other tools PATH="${__cdist_cache_bin}:$PATH" @@ -42,4 +45,4 @@ if [ ! -x "${__cdist_manifest_init}" ]; then fi mkdir -p "${__cdist_output_dir}" -"${__cdist_manifest_init}" +"${__cdist_manifest}"