summaryrefslogtreecommitdiff
path: root/sysutils/webmin
diff options
context:
space:
mode:
authorsbd <sbd@pkgsrc.org>2012-05-13 08:10:12 +0000
committersbd <sbd@pkgsrc.org>2012-05-13 08:10:12 +0000
commit06b6addf59c6ced4d4b5c70cb94376f547590b0d (patch)
treebbae8bf23097b87d1dd17af6965b490bc4f6d576 /sysutils/webmin
parent477ef96b35d754832b07b1a10f2fd54a3d5efd53 (diff)
downloadpkgsrc-06b6addf59c6ced4d4b5c70cb94376f547590b0d.tar.gz
If the WEBMIN_OSVERSION_cmd output is empty then a pair of quotes must be
used so that copyconfig.pl has the correct number of arguments.
Diffstat (limited to 'sysutils/webmin')
-rw-r--r--sysutils/webmin/wbm.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysutils/webmin/wbm.mk b/sysutils/webmin/wbm.mk
index bb5547a5456..76a87c99073 100644
--- a/sysutils/webmin/wbm.mk
+++ b/sysutils/webmin/wbm.mk
@@ -1,4 +1,4 @@
-# $NetBSD: wbm.mk,v 1.9 2010/07/11 17:41:01 joerg Exp $
+# $NetBSD: wbm.mk,v 1.10 2012/05/13 08:10:12 sbd Exp $
#
# Makefile fragment for Webmin modules
#
@@ -90,7 +90,7 @@ INSTALLATION_DIRS+= ${WBM_DIR} ${WBM_EGDIR}
wbm-install:
${CP} -R ${WBMSRC} ${DESTDIR}${WBM_DIR}/.
${PERL5} ${WEBMIN_DIR}/copyconfig.pl \
- ${WEBMIN_OSTYPE_cmd:sh:Q} ${WEBMIN_OSVERSION_cmd:sh:Q} \
+ ${WEBMIN_OSTYPE_cmd:sh:Q} ${WEBMIN_OSVERSION_cmd:sh:Q:S/^$/''/}\
${DESTDIR}${WBM_DIR} ${DESTDIR}${WBM_EGDIR} ${WBM_NAME}
do-configure: wbm-configure