23 lines
258 B
Bash
Executable File
23 lines
258 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [ $# -eq 0 ]
|
|
then
|
|
echo "No arguments supplied"
|
|
exit -1
|
|
fi
|
|
|
|
WINEDIR=$HOME/Pelit/Wine/$1/
|
|
|
|
export WINEDEBUG=-all
|
|
#export WINEARCH=win32
|
|
export WINEPREFIX=$WINEDIR
|
|
|
|
echo "Run in $WINEDIR"
|
|
|
|
#if [ $# -eq 1 ]
|
|
#then
|
|
# wine $2
|
|
#fi
|
|
shift 1;
|
|
exec $@
|