ScanForViruses.sh 275 B

12345678910
  1. #!/bin/bash
  2. TIGCCDIR=../../tigcc-win32
  3. TIGCCCVSDIR=..
  4. echo Scanning executables for viruses...
  5. if clamscan -ir "$TIGCCDIR/tigcc.exe" "$TIGCCDIR/tprbuilder.exe" "$TIGCCDIR/Bin" "$TIGCCCVSDIR/doc/Programs" Setup.exe
  6. then echo OK
  7. else echo "ERROR: Viruses found!" ; exit 1
  8. fi