xbps-src: make print_cross_targets work outside of the root of the repo
if not in `void-packages/`, this only prints `*`
This commit is contained in:
parent
bf60f78b4d
commit
e95810b3a1
1 changed files with 1 additions and 1 deletions
2
xbps-src
2
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
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue