From eea3741ccb177a38918baa618589c20d7c07152f Mon Sep 17 00:00:00 2001 From: Anna Date: Sun, 11 Jul 2010 22:00:01 -0400 Subject: [PATCH] Use wine32, as this fits my needs better --- wino | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/wino b/wino index 7adb483..8a16401 100755 --- a/wino +++ b/wino @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/perl -s # # wino v git # @@ -27,6 +27,9 @@ my $HELP_MSG = "wino v $VERSION\n\tusage: wino --list | [options] [comm "--trick \tRun winetricks with the specified options\n" . "--regedit\t\tRun regedit for the container\n"; + +my $winecmd = 'wine32'; + foreach (@ARGV) { die $HELP_MSG if (/^(--help)|(-h)$/); @@ -67,7 +70,7 @@ my $container_path = "$WINO_DIR/$prefix"; if ($command eq '--config') { # Run winecfg on the container - exec "WINEPREFIX=$container_path winecfg" + exec "WINEPREFIX=$container_path $winecmd winecfg" } elsif ($command eq '--default') { @@ -110,5 +113,5 @@ else $command .= ' ' . join(' ', @ARGV); } - exec "WINEPREFIX=$container_path wine \"$command\""; + exec "WINEPREFIX=$container_path $winecmd \"$command\""; }