Wine script now removes extra params

This commit is contained in:
lanxu 2019-05-18 13:05:44 +03:00
parent 5268935e9c
commit 3cc0c93418

View File

@ -3,6 +3,7 @@
if [ $# -eq 0 ]
then
echo "No arguments supplied"
exit -1
fi
WINEDIR=$HOME/Pelit/Wine/$1/
@ -12,5 +13,10 @@ export WINEDEBUG=-all
export WINEPREFIX=$WINEDIR
echo "Run in $WINEDIR"
wine $2
#if [ $# -eq 1 ]
#then
# wine $2
#fi
shift 1;
exec $@