X-Git-Url: https://hackdaworld.org/gitweb/?p=hdw-linux%2Fhdw-linux.git;a=blobdiff_plain;f=scripts%2FConfig;fp=scripts%2FConfig;h=042664c609ffe77c8921025f03094115758fbbdc;hp=42c877a12a58499ebf6b26839cc4f284d86ffe80;hb=8dd2356c22327a15f0e16abbc887c4f72fc62985;hpb=59dafa7b79a4e74dbb5b617bf41c3284b6bb8dcd diff --git a/scripts/Config b/scripts/Config index 42c877a..042664c 100755 --- a/scripts/Config +++ b/scripts/Config @@ -64,8 +64,11 @@ fi set +h umask 022 export LC_ALL=POSIX -[ "$stage" -lt "2" -o "$hdw_crossbuild" != "0" ] && \ - export PATH="$root/${hdw_tc_name}/bin:$PATH" +if [ "$stage" -lt "2" -a "$hdw_crossbuild" = "0" ] ; then + export PATH="/${tc_name}/bin:/${tc_name}/sbin:$PATH" +elif [ "$hdw_crossbuild" != "0" ] ; then + export PATH="$root/${tc_name}/bin:$root/${tc_name}/sbin:$PATH" +fi # let's do optimization and care for crossbuilds #