#!/bin/sh

if [ "$#" -ne 2 ]; then
    echo "Usage: $0 input_file output_file"
    exit 1
fi

export LD_LIBRARY_PATH="/opt/bitdefender/lib:${LD_LIBRARY_PATH}"

# attention! nothing will be executed after the following line (see 'exec' below)
exec /opt/bitdefender/va/bin/main -y 1 -c 16 -i "$1" -o "$2"
