Skip to content

Commit

Permalink
Fix chomp precedence.
Browse files Browse the repository at this point in the history
  • Loading branch information
juster committed Jun 11, 2015
1 parent 999a202 commit 21ecdd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ALPM/Conf.pm
Expand Up @@ -228,7 +228,7 @@ sub _setarch
{
my($opts) = @_;
if(!$opts->{'arch'} || $opts->{'arch'} eq 'auto'){
chomp $opts->{'arch'} = `uname -m`;
chomp ($opts->{'arch'} = `uname -m`);
}
}

Expand Down

0 comments on commit 21ecdd9

Please sign in to comment.