Made passing arguments to default command possible

This commit is contained in:
Anna Rose 2011-04-27 16:06:37 -04:00
parent 4f06564999
commit 27dd9dfae2

7
wino
View File

@ -113,9 +113,12 @@ else
{
$command=`cat $container_path/default`;
chomp $command;
exec "WINEPREFIX=$container_path $winecmd $command @ARGV";
}
else { die "No command given, and no default command found"; }
}
exec "WINEPREFIX=$container_path $winecmd \"$command\" @ARGV";
else
{
exec "WINEPREFIX=$container_path $winecmd \"$command\" @ARGV";
}
}