From 24d11d6c9bb55c2eaa83866b18193d02971491f1 Mon Sep 17 00:00:00 2001 From: Anna Date: Tue, 20 Jul 2010 22:09:34 -0400 Subject: [PATCH] Another fix for 32/64 compatibility... just defaults everything to wine32 on x86_64 --- wino | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wino b/wino index e9362f3..616dc87 100755 --- a/wino +++ b/wino @@ -30,7 +30,10 @@ my $HELP_MSG = "wino v $VERSION\n\tusage: wino --list | [options] [comm my $winecmd = 'wine'; -if (`uname -i` eq 'x86_64') { $winecmd = 'wine32'; } +my $uname = `uname -i`; +chomp $uname; + +if ($uname eq "x86_64") { $winecmd = 'wine32'; } foreach (@ARGV) {