summaryrefslogtreecommitdiff
path: root/nasm.nsi
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-07-05 19:33:41 -0700
committerH. Peter Anvin <hpa@zytor.com>2009-07-05 19:33:41 -0700
commit5cc5589b734a26d6c971c26a330371aedfe35f2c (patch)
tree1fa508f85185524361fa99d4cea28dccb3aa419c /nasm.nsi
parent84280bbf8878573af3c88970397889ad7f240564 (diff)
downloadnasm-5cc5589b734a26d6c971c26a330371aedfe35f2c.tar.gz
nasm-5cc5589b734a26d6c971c26a330371aedfe35f2c.tar.bz2
nasm-5cc5589b734a26d6c971c26a330371aedfe35f2c.zip
nasm.nsi: in the "NASM shell", put NASM first in PATH
In the "NASM shell", it makes sense for NASM to be first in the PATH, not last. That way if the user has more than one version of NASM installed, and one of them is global, the "NASM shell" for any one version will still pick up the proper version. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'nasm.nsi')
-rw-r--r--nasm.nsi2
1 files changed, 1 insertions, 1 deletions
diff --git a/nasm.nsi b/nasm.nsi
index 0e1d403..ae2e69b 100644
--- a/nasm.nsi
+++ b/nasm.nsi
@@ -65,7 +65,7 @@ Section "${PACKAGE_NAME}"
File "rdoff/rdx.exe"
FileOpen $0 "nasmpath.bat" w
IfErrors skip
- FileWrite $0 "@set path=%path%;$INSTDIR$\r$\n"
+ FileWrite $0 "@set path=$INSTDIR;%path%$\r$\n"
FileWrite $0 "@%comspec%"
FileClose $0
skip: