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