diff --git a/msys2/autobuild.sh b/msys2/autobuild.sh index 60ec7f2bb..7d1d622d5 100644 --- a/msys2/autobuild.sh +++ b/msys2/autobuild.sh @@ -3,7 +3,7 @@ pm3Dir=/pm3 copyDir=/builds buildDir=/tmp -export PATH=$PATH:/gcc-arm-none-eabi/bin +export PATH=/gcc-arm-none-eabi/bin:$PATH pacman -Q zip 1> /dev/null if [[ $? != 0 ]]; then diff --git a/msys2/msys2_shell.cmd b/msys2/msys2_shell.cmd index b949e1777..067a28fff 100644 --- a/msys2/msys2_shell.cmd +++ b/msys2/msys2_shell.cmd @@ -16,7 +16,7 @@ rem or uncomment next line rem set MSYS2_PATH_TYPE=inherit -SET PATH=%PATH%;%WD% +SET PATH=%WD%;%PATH% rem /tmp is required for bash to work mkdir %WD%..\..\tmp 2> nul del %WD%..\..\etc\passwd 2> nul diff --git a/pm3/.bashrc b/pm3/.bashrc index d8325d095..a9aa19178 100644 --- a/pm3/.bashrc +++ b/pm3/.bashrc @@ -190,5 +190,5 @@ # alias cd=cd_func export LANG=en_US.UTF-8 export PS1='\[\033]0;ProxSpace v3.0 - $MSYSTEM:\w\007\033[32m\]pm3 \[\033[33m\]\w\[\033[0m\]$ ' -export PATH=$PATH:/gcc-arm-none-eabi/bin +export PATH=/gcc-arm-none-eabi/bin:$PATH alias ls='ls -hF --color=auto' \ No newline at end of file