X-Git-Url: https://hackdaworld.org/gitweb/?p=hdw-linux%2Fhdw-linux.git;a=blobdiff_plain;f=scripts%2FConfig;h=042664c609ffe77c8921025f03094115758fbbdc;hp=42c877a12a58499ebf6b26839cc4f284d86ffe80;hb=HEAD;hpb=504579d0d381b02fc33fe1c696d64f96135a15a8 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 #