summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/ptxdist4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ptxdist b/bin/ptxdist
index d4e51a7ef..cc3253db7 100755
--- a/bin/ptxdist
+++ b/bin/ptxdist
@@ -1657,11 +1657,11 @@ do_select_toolchain_guess()
libc=""
fi
- local hint="/opt/${vendor}/${target}/${gcc}${java}${libc}*/bin"
+ local hint="/opt/${vendor}/${target}/${gcc}${java}*${libc}*/bin"
# let the shell expand the "*" in the hint, put it into an array
if ! ptxd_get_path ${hint}; then
- hint="/opt/${vendor}*/${target}/${gcc}${java}${libc}*/bin"
+ hint="/opt/${vendor}*/${target}/${gcc}${java}*${libc}*/bin"
ptxd_get_path ${hint}
fi
toolchain=("${ptxd_reply[@]}")