Common C++ classes and routines used by my applications such as argument parser, IO and conversion utilities
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/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; |
|
wine "${@:1:1}"
|
|
|