Commits

Tomaz Curk committed 79acbe7

filenames.set split into two files to prevent conflicts with concurrent read/write access from various build systems (windows, mac)

  • Participants
  • Parent commits 8398ca9

Comments (0)

Files changed (2)

File install-scripts/updateSetVariables__.btm

 set DOWNLOADDIR=O:\
 
 REM # read filenames of current packages
-set /r %DOWNLOADDIR\filenames.set
+set /r %DOWNLOADDIR\filenames_win.set
 
 set daystr=%_YEAR-%@format[02,%_MONTH]-%@format[02,%_DAY]
 set nicedate=%_DAY %@INSTR[%@EVAL[3*%_MONTH-3],3,JanFebMarAprMayJunJulAugSepOctNovDec] %_YEAR

File install-scripts/updateVersionsPy__.btm

 @echo off
-set fhandle=%@FILEOPEN[%DOWNLOADDIR\filenames.set, write, t]
+set fhandle=%@FILEOPEN[%DOWNLOADDIR\filenames_win.set, write, t]
 set foo=%@FILEWRITE[%fhandle,VERSION=%VERSION]
 set foo=%@FILEWRITE[%fhandle,RELEASE_DATE=%RELEASE_DATE]
 
 set foo=%@FILEWRITE[%fhandle,LINUX_ADDON_BIOINFORMATICS_SNAPSHOT=%LINUX_ADDON_BIOINFORMATICS_SNAPSHOT]
 set foo=%@FILEWRITE[%fhandle,LINUX_ADDON_TEXT_SNAPSHOT=%LINUX_ADDON_TEXT_SNAPSHOT]
 
-REM # Mac
-set foo=%@FILEWRITE[%fhandle,MAC=%MAC]
-set foo=%@FILEWRITE[%fhandle,MAC_SNAPSHOT=%MAC_SNAPSHOT]
-
-set foo=%@FILEWRITE[%fhandle,MAC_ADDONS=%MAC_ADDONS]
-set foo=%@FILEWRITE[%fhandle,MAC_ADDONS_SNAPSHOT=%MAC_ADDONS_SNAPSHOT]
-
 REM # Documentation and sources
 set foo=%@FILEWRITE[%fhandle,DOCUMENTATION=%DOCUMENTATION]
 set foo=%@FILEWRITE[%fhandle,DOCUMENTATION_SNAPSHOT=%DOCUMENTATION_SNAPSHOT]