fixed waiting using sh from Almindor

git-svn-id: trunk@9354 -
This commit is contained in:
vincents 2006-05-25 18:50:05 +00:00
parent 085f6ed50a
commit 87f7643ea5

View File

@ -7,16 +7,17 @@ echo $CommandLine
ext=${CommandLine#*.}
if [ "$ext" = "exe" ]; then
echo "Windows Executable detected. Attempting to use WINE..."
if [ -x $( which wine ) ]; then
wine $CommandLine
if [ -x "`which wine`" ]; then
wine $CommandLine
else
echo "WINE not found in path"
fi
fi
else
$CommandLine
fi
echo "--------------------------------------------------"
echo "Press enter"
read
read trash crash
# end.