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 }