File tree 1 file changed +4
-9
lines changed
1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change 1
- setlocal
1
+ setlocal EnableDelayedExpansion
2
2
@ echo off
3
3
REM It only takes two or three minutes to do a full install, so for simplicity we do that.
4
4
REM it is installed using xcopy /d, so if it hasn't changed then it doesn't do anything.
5
5
6
- set PYTHON_KITS_PATH = p:\ Kits$\CompGroup\ICP\genie_python_3\
7
- set PYTHON_INSTALL_DIR = C:\Instrument\Apps\Python3
6
+ set " PYTHON_KITS_PATH = \\isis.cclrc.ac.uk\inst$\ Kits$\CompGroup\ICP\genie_python_3"
7
+ set " PYTHON_INSTALL_DIR = C:\Instrument\Apps\Python3"
8
8
9
9
@ echo Updating genie_python
10
10
11
- @ echo Deleting P drive
12
- net use p: /d
13
- @ echo Mapping P drive
14
- net use p: \\isis\inst$
15
-
16
11
if exist " %PYTHON_KITS_PATH% \LATEST_BUILD.txt" (
17
12
for /f %%i in ( %PYTHON_KITS_PATH% \LATEST_BUILD.txt ) do (
18
13
@ echo NEW_BUILD: %%i
19
14
call %PYTHON_KITS_PATH% \BUILD-%%i \genie_python_install.bat
20
- if % errorlevel% neq 0 goto ERROR
15
+ if ! errorlevel! neq 0 goto ERROR
21
16
)
22
17
) else (
23
18
@ echo Could not access LATEST_BUILD.txt
You can’t perform that action at this time.
0 commit comments