env/setup/sourcepkg: fix for multiple env variables' value
This commit is contained in:
parent
db0db39579
commit
aa3a922c52
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
||||||
# the package template (excluding subpackages).
|
# the package template (excluding subpackages).
|
||||||
|
|
||||||
# Exported variables
|
# Exported variables
|
||||||
for var in $(env | sed -e 's/=.*//'); do
|
for var in $(awk 'BEGIN{for (i in ENVIRON) {print i}}' </dev/null); do
|
||||||
# Those variables in chroot.sh will be kept
|
# Those variables in chroot.sh will be kept
|
||||||
case "$var" in
|
case "$var" in
|
||||||
XBPS_* | IN_CHROOT | CHROOT_READY | SOURCE_DATE_EPOCH)
|
XBPS_* | IN_CHROOT | CHROOT_READY | SOURCE_DATE_EPOCH)
|
||||||
|
|
Loading…
Add table
Reference in a new issue