forked from ungleich-public/cdist
__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:
parent
fb3cd98b54
commit
0dd5411216
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue