__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:
Steven Armstrong 2011-06-15 16:05:13 +02:00
parent d21c52be1c
commit 2ffd5c837b

View file

@ -21,7 +21,11 @@
# 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")"
delimiter="$(cat "$__object/parameter/delimiter")"