need value from file not file itself

Signed-off-by: Steven Armstrong <steven.armstrong@inf.ethz.ch>
This commit is contained in:
Steven Armstrong 2011-03-03 08:28:24 +01:00
parent 643c618a9f
commit 4c447b59ac

View file

@ -22,7 +22,7 @@
#
if [ -f "$__object/parameter/name" ]; then
name="$__object/parameter/name"
name="$(cat "$__object/parameter/name")"
else
name="$__object_id"
fi