enhance and fix __issue

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-03-20 02:04:30 +01:00
parent 6800bbff10
commit 04a07cfaf6
2 changed files with 17 additions and 9 deletions

View file

@ -20,8 +20,13 @@
#
destination=/etc/issue
source="$(cat "out/explorer/os")"
os="$(cat "$__global/explorer/os")"
if [ -f "$__object/parameter/source" ]; then
source="$(cat "$__object/parameter/source")"
echo using $source
else
case "$os" in
archlinux|redhat)
source="$__type/files/$os"
@ -30,5 +35,6 @@ case "$os" in
source="$__type/files/default"
;;
esac
fi
__file "$destination" --source "$source"

View file

@ -2,6 +2,8 @@
* Document cdist-type-build-emulation
* Document cdist-type-emulator
* Document cdist-remote-explorer-run
* Fix dependencies in cdist-code-run
* Add --source to __issue and fix os check
1.3.0: 2011-03-20
* Add support for local and remote code generation and execution