From 8d37e2f5658d436ff33d13a489f40b8b4b1de77a Mon Sep 17 00:00:00 2001 From: Anna Date: Sun, 18 Jul 2010 18:53:34 -0400 Subject: [PATCH] Make wino work in 64-bit OR 32-bit --- wino | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/wino b/wino index 8a16401..e9362f3 100755 --- a/wino +++ b/wino @@ -28,7 +28,9 @@ my $HELP_MSG = "wino v $VERSION\n\tusage: wino --list | [options] [comm "--regedit\t\tRun regedit for the container\n"; -my $winecmd = 'wine32'; +my $winecmd = 'wine'; + +if (`uname -i` eq 'x86_64') { $winecmd = 'wine32'; } foreach (@ARGV) {