__key_value: bugfix, explorer has no access to parameters created in manifest
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
parent
d21c52be1c
commit
2ffd5c837b
1 changed files with 5 additions and 1 deletions
|
@ -21,7 +21,11 @@
|
||||||
# Get the current value of key or __NOTSET__ if the key doesn't exist.
|
# Get the current value of key or __NOTSET__ if the key doesn't exist.
|
||||||
#
|
#
|
||||||
|
|
||||||
key="$(cat "$__object/parameter/key")"
|
if [ -f "$__object/parameter/key" ]; then
|
||||||
|
key="$(cat "$__object/parameter/key")"
|
||||||
|
else
|
||||||
|
key="$__object_id"
|
||||||
|
fi
|
||||||
file="$(cat "$__object/parameter/file")"
|
file="$(cat "$__object/parameter/file")"
|
||||||
delimiter="$(cat "$__object/parameter/delimiter")"
|
delimiter="$(cat "$__object/parameter/delimiter")"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue