xbps-src: make 'show-var' source environment/setup.
This makes XXX_SITE vars work.
This commit is contained in:
parent
70a0fdd8cd
commit
2d9b01bce5
1 changed files with 3 additions and 0 deletions
3
xbps-src
3
xbps-src
|
@ -736,6 +736,9 @@ case "$XBPS_TARGET" in
|
|||
show_pkg_shlib_requires
|
||||
;;
|
||||
show-var)
|
||||
for f in ${XBPS_COMMONDIR}/environment/setup/*.sh; do
|
||||
source $f
|
||||
done
|
||||
eval value="\${$XBPS_TARGET_PKG}"
|
||||
echo $value
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue