cpp-utilities/scripts/wine.sh

12 lines
258 B
Bash
Raw Permalink Normal View History

#!/bin/bash
if [[ $# -lt 1 ]]; then
echo "Starts the specified executable with wine."
echo "Usage: $0 executable [additional_dll_path(s)]"
exit -1
fi
for arg in "${@:2}"; do
WINEPATH="${arg};${WINEPATH}"
done
export WINEPATH;
2016-10-29 00:21:42 +02:00
wine "${@:1:1}"