diff --git a/xbps-src b/xbps-src index ababc74dd3c..ca6f09667f1 100755 --- a/xbps-src +++ b/xbps-src @@ -75,6 +75,9 @@ Targets: (only one may be specified) show-shlib-requires Show list of required shlibs for . Package must be installed into destdir. + show-var + Prints the value of if it's defined in xbps-src. + zap Removes a masterdir but preserving ccache, distcc and host directories. @@ -559,6 +562,10 @@ show-shlib-requires) read_pkg show_pkg_shlib_requires ;; +show-var) + eval value="\${$XBPS_TARGET_PKG}" + echo $value + ;; zap) masterdir_zap ;;