update cdist-explorer-run to almost run again

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-02-23 16:49:39 +01:00
commit 9c9d3b33cf
3 changed files with 4 additions and 39 deletions

View file

@ -35,6 +35,7 @@ __cdist_explorer_dir="$1"; shift
__cdist_my_out_dir="$1"; shift
cd "${__cdist_work_dir}"
mkdir -p "$__cdist_my_out_dir"
# Ensure there is at least one explorer
num="$(ls -1 "$__cdist_explorer_dir" | wc -l)"