output ideas

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2010-09-16 03:00:02 +02:00
parent a5a12c72b1
commit 01ef65fbaa
1 changed files with 4 additions and 2 deletions

View File

@ -12,6 +12,8 @@ cdist_explore_os()
} }
# join those two if output needed # could work, if cdist_explore_os would be a different program
cdist_explore_os # nope, does not work, set -x output is not sourcable...
[ "$1" = "-o" ] && set -x
CDIST_OS="$(cdist_explore_os)" CDIST_OS="$(cdist_explore_os)"