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) {