From e95810b3a1ca8513ffcbe36c9e9d9b709f6f9100 Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Sat, 10 Feb 2024 02:01:24 -0500 Subject: [PATCH] xbps-src: make print_cross_targets work outside of the root of the repo if not in `void-packages/`, this only prints `*` --- xbps-src | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xbps-src b/xbps-src index b4e99f53105..77695b9f510 100755 --- a/xbps-src +++ b/xbps-src @@ -3,7 +3,7 @@ print_cross_targets() { local f - for f in common/cross-profiles/*.sh; do + for f in "${XBPS_DISTDIR}"/common/cross-profiles/*.sh; do f=${f%.sh}; f=${f##*/}; printf "\t$f\n" done }