mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-13 03:03:15 +00:00
Replace escaping for exported vars with :Q feature.
With hat: portmgr
This commit is contained in:
parent
ac1cb7e914
commit
1289b5e043
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=399153
@ -5052,10 +5052,10 @@ ${_t}:
|
||||
.if !defined(NOPRECIOUSMAKEVARS)
|
||||
# These won't change, so we can pass them through the environment
|
||||
.MAKEFLAGS: \
|
||||
ARCH="${ARCH:S/"/"'"'"/g:S/\$/\$\$/g:S/\\/\\\\/g}" \
|
||||
OPSYS="${OPSYS:S/"/"'"'"/g:S/\$/\$\$/g:S/\\/\\\\/g}" \
|
||||
OSREL="${OSREL:S/"/"'"'"/g:S/\$/\$\$/g:S/\\/\\\\/g}" \
|
||||
OSVERSION="${OSVERSION:S/"/"'"'"/g:S/\$/\$\$/g:S/\\/\\\\/g}"
|
||||
ARCH=${ARCH:Q} \
|
||||
OPSYS=${OPSYS:Q} \
|
||||
OSREL=${OSREL:Q} \
|
||||
OSVERSION=${OSVERSION:Q}
|
||||
.endif
|
||||
|
||||
.if !target(pre-check-config)
|
||||
|
Loading…
Reference in New Issue
Block a user