enhance and fix __issue
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
6800bbff10
commit
04a07cfaf6
2 changed files with 17 additions and 9 deletions
|
@ -20,8 +20,13 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
destination=/etc/issue
|
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
|
case "$os" in
|
||||||
archlinux|redhat)
|
archlinux|redhat)
|
||||||
source="$__type/files/$os"
|
source="$__type/files/$os"
|
||||||
|
@ -30,5 +35,6 @@ case "$os" in
|
||||||
source="$__type/files/default"
|
source="$__type/files/default"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
fi
|
||||||
|
|
||||||
__file "$destination" --source "$source"
|
__file "$destination" --source "$source"
|
||||||
|
|
|
@ -2,6 +2,8 @@
|
||||||
* Document cdist-type-build-emulation
|
* Document cdist-type-build-emulation
|
||||||
* Document cdist-type-emulator
|
* Document cdist-type-emulator
|
||||||
* Document cdist-remote-explorer-run
|
* 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
|
1.3.0: 2011-03-20
|
||||||
* Add support for local and remote code generation and execution
|
* Add support for local and remote code generation and execution
|
||||||
|
|
Loading…
Reference in a new issue