summaryrefslogtreecommitdiffhomepage
path: root/subr/pkg_install_files.subr
diff options
context:
space:
mode:
Diffstat (limited to 'subr/pkg_install_files.subr')
-rw-r--r--subr/pkg_install_files.subr4
1 files changed, 2 insertions, 2 deletions
diff --git a/subr/pkg_install_files.subr b/subr/pkg_install_files.subr
index 2c6703fb..76460da3 100644
--- a/subr/pkg_install_files.subr
+++ b/subr/pkg_install_files.subr
@@ -1,9 +1,9 @@
#
-# set +o errexit -o noglob is assumed.
+# set +o errexit -o noglob -o nounset is assumed.
#
pkgp_install_files() {
- if [ -n "${PKG_INSTALL_FILES}" ]; then
+ if [ -n "${PKG_INSTALL_FILES:-}" ]; then
if ! rtl_install -v "${PKG_DESTDIR}" ${PKG_INSTALL_FILES}; then
return 1;
fi;