X-Git-Url: https://git.madduck.net/code/myrepos.git/blobdiff_plain/c4cd5eba9e41a024e9eb8fc2f62cf4f37723b97e..02d332602145b6e3e3e28dbfd5078fcf04c27446:/mr?ds=sidebyside diff --git a/mr b/mr index d170e67..e735b67 100755 --- a/mr +++ b/mr @@ -261,7 +261,7 @@ my %alias; Getopt::Long::Configure("no_permute"); my $result=GetOptions( "d|directory=s" => sub { $directory=abs_path($_[1]) }, - "c|config=s" => \$ENV{MR_CONFIG}, + "c|config=s" => sub { $ENV{MR_CONFIG}=abs_path($_[1]) }, "v|verbose" => \$verbose, "s|stats" => \$stats, );