__package_pkg_openbsd: fix use of --name (#568)

Fixes the improper use of the file holding the value of the 'name'
option.
This commit is contained in:
uqam-fob 2017-09-03 17:27:27 -04:00 committed by Darko Poljak
parent fb3cd98b54
commit 0dd5411216

View file

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