Wine script now removes extra params
This commit is contained in:
parent
5268935e9c
commit
3cc0c93418
|
@ -3,6 +3,7 @@
|
||||||
if [ $# -eq 0 ]
|
if [ $# -eq 0 ]
|
||||||
then
|
then
|
||||||
echo "No arguments supplied"
|
echo "No arguments supplied"
|
||||||
|
exit -1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
WINEDIR=$HOME/Pelit/Wine/$1/
|
WINEDIR=$HOME/Pelit/Wine/$1/
|
||||||
|
@ -12,5 +13,10 @@ export WINEDEBUG=-all
|
||||||
export WINEPREFIX=$WINEDIR
|
export WINEPREFIX=$WINEDIR
|
||||||
|
|
||||||
echo "Run in $WINEDIR"
|
echo "Run in $WINEDIR"
|
||||||
wine $2
|
|
||||||
|
|
||||||
|
#if [ $# -eq 1 ]
|
||||||
|
#then
|
||||||
|
# wine $2
|
||||||
|
#fi
|
||||||
|
shift 1;
|
||||||
|
exec $@
|
||||||
|
|
Loading…
Reference in New Issue
Block a user