@@ -74,14 +74,6 @@ if "%FB2_SNAPSHOT%"=="1" (
74
74
@ echo o Checking for unix2dos...
75
75
(cmd /c " unix2dos.exe --version 2>&1 > nul" ) || ( call :ERROR Could not locate unix2dos && @ goto :EOF )
76
76
77
- @ for /f " usebackq tokens=*" %% c in (`where /f touch 2^ > nul `) do set TOUCH_COMMAND = %% c
78
- if defined TOUCH_COMMAND (
79
- @ %TOUCH_COMMAND% --version < nul > nul 2 > nul
80
- if not ERRORLEVEL 1 (
81
- @ echo o POSIX touch utility found at %TOUCH_COMMAND%
82
- ) else ( @ set TOUCH_COMMAND = )
83
- )
84
-
85
77
@ for /f " usebackq tokens=*" %% c in (`where /f md5sum 2^ > nul `) do set MD5_COMMAND = %% c
86
78
if defined MD5_COMMAND (
87
79
@ echo o POSIX md5sum utility found at %MD5_COMMAND%
@@ -496,34 +488,6 @@ endlocal
496
488
@ goto :EOF
497
489
498
490
499
- :TOUCH_ALL
500
- :: ========
501
- :: Set file timestamp to something meaningful.
502
- :: While building and testing this feature might be annoying, so we don't do it.
503
- :: ==========================================================
504
- setlocal
505
-
506
- if /I not " %FBBUILD_BUILDTYPE% " == " release" goto :EOF
507
- if not defined TOUCH_COMMAND echo POSIX touch utility not found && exit /b 1
508
-
509
- set TIMESTRING = 0%FB_MAJOR_VER% :0%FB_MINOR_VER% :0%FB_REV_NO%
510
-
511
- :: Perhaps here we should touch directories as well
512
- :: Here and there XXX_COMMAND is "call"-ed in case if it is a batch file
513
-
514
- @ echo Touching release build files with %TIMESTRING% timestamp
515
-
516
- @ for /R %FB_OUTPUT_DIR% %% F in ( * ) do (
517
- call %TOUCH_COMMAND% -c -d %TIMESTRING% %% F || exit /b 1
518
- )
519
-
520
- endlocal
521
-
522
- :: End of TOUCH_ALL
523
- :: ----------------
524
- @ goto :EOF
525
-
526
-
527
491
:ISX_PACK
528
492
:: =======
529
493
:: Now let's go and build the installable .exe
@@ -716,13 +680,6 @@ if defined WIX (
716
680
@ (@ call :SET_CRLF ) || (@ echo Error calling SET_CRLF && @ goto :EOF)
717
681
@ echo .
718
682
719
- :: @echo Creating .local files for libraries
720
- :: @(@call :TOUCH_LOCAL ) || (@echo Error calling TOUCH_LOCAL & @goto :END)
721
- :: @echo.
722
-
723
- @ (@ call :TOUCH_ALL ) || (@ echo Error calling TOUCH_ALL && @ goto :END)
724
- @ echo .
725
-
726
683
if %FBBUILD_ZIP_PACK% EQU 1 (
727
684
@ echo Zipping files for zip pack
728
685
@ (@ call :ZIP_PACK ) || (@ echo Error calling ZIP_PACK && @ goto :END)
0 commit comments