Sophie

Sophie

distrib > Mageia > 6 > armv7hl > by-pkgid > 8b9b10a4dee8722bf6b602d55095864b > files > 1

lazarus-1.2.4-6.mga6.src.rpm

--- lazarus/tools/runwait.sh~	2006-05-25 22:50:05 +0400
+++ lazarus/tools/runwait.sh	2007-10-30 19:25:12 +0300
@@ -7,10 +7,11 @@ echo $CommandLine
 ext=${CommandLine#*.}
 if [ "$ext" = "exe" ]; then
   echo "Windows Executable detected. Attempting to use WINE..."
-  if [ -x "`which wine`" ]; then
-    wine $CommandLine
+  WINE=/usr/bin/wine
+  if [ -x "$WINE" ]; then
+    $WINE $CommandLine
   else
-    echo "WINE not found in path"
+    echo "$WINE not found"
   fi
 else
   $CommandLine