ignore unset requirements

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-03-18 00:01:14 +01:00
parent d1191fb4a9
commit adcb88d53d

View file

@ -106,6 +106,8 @@ if [ "$other" ]; then
fi
# Record requirements
# it's fine, if it's not set
set +u
for requirement in $require; do
echo $requirement >> "$(__cdist_object_require "$__cdist_object")"
done