mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-06 12:00:40 +02:00
fixed waiting using sh from Almindor
git-svn-id: trunk@9354 -
This commit is contained in:
parent
085f6ed50a
commit
87f7643ea5
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user