taler-windows

Windows packaging
Log | Files | Refs

test-if.bat (313B)


      1 @echo off
      2 set MODE=%1
      3 set TYPE=%2
      4 
      5 echo MODE=%MODE%
      6 echo TYPE=%TYPE%
      7 
      8 if /I "%MODE%"=="HTTPS" (
      9     if /I "%TYPE%"=="APACHE" (
     10         echo HTTPS APACHE
     11     ) else (
     12         echo HTTPS NGINX
     13     )
     14 ) else (
     15     if /I "%TYPE%"=="APACHE" (
     16         echo HTTP APACHE
     17     ) else (
     18         echo HTTP NGINX
     19     )
     20 )
     21 pause