sysutils/cbsd: fix bset command in CBSD 12.1.1

PR:		240653
Submitted by:	olevole@olevole.ru (maintainer)
This commit is contained in:
Steve Wills 2019-09-23 21:19:52 +00:00
parent 8f1ba860aa
commit 020c0fb88a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=512681
2 changed files with 12 additions and 0 deletions

View file

@ -2,6 +2,7 @@
PORTNAME= cbsd
DISTVERSION= 12.1.1
PORTREVISION= 1
CATEGORIES= sysutils
MAINTAINER= olevole@olevole.ru

View file

@ -0,0 +1,11 @@
--- jailctl/bset.orig 2019-09-13 19:50:55 UTC
+++ jailctl/bset
@@ -121,7 +121,7 @@ update_jails()
fi
;;
*)
- cbsdsqlrw ${jailsysdir}/${jname}/local.sqlite UPDATE settings SET ${i}="${VAL}"
+ cbsdsqlrw ${jailsysdir}/${jname}/local.sqlite UPDATE settings SET ${i}=\"${VAL}\"
# back compatible
cbsdsqlrw local UPDATE bhyve SET ${i}=\"${VAL}\" WHERE jname=\"${jname}\"
;;