diff options
author | Sitaram Chamarty <sitaram@atc.tcs.com> | 2013-10-19 00:30:14 +0530 |
---|---|---|
committer | Sitaram Chamarty <sitaram@atc.tcs.com> | 2014-01-14 20:46:25 +0530 |
commit | 680a79673ae2c98946d6b46ef4cea2da7f0eab65 (patch) | |
tree | da1b4ae379d5ab38678363c30f593609da8319f0 /src/VREF | |
parent | 21f4f0263ce174f0d6c6dfa89a42b4a62d639060 (diff) |
(perltidy)
Diffstat (limited to 'src/VREF')
-rwxr-xr-x | src/VREF/lock | 4 | ||||
-rwxr-xr-x | src/VREF/refex-expr | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/VREF/lock b/src/VREF/lock index e07d8d5..0fc7681 100755 --- a/src/VREF/lock +++ b/src/VREF/lock @@ -24,10 +24,10 @@ _die "do '$ff' failed with '$@', contact your administrator" if $@; my ( $oldtree, $newtree, $refex ) = @ARGV[ 3, 4, 6 ]; -for my $file (`git diff --name-only $oldtree $newtree` ) { +for my $file (`git diff --name-only $oldtree $newtree`) { chomp($file); - if ($locks{$file} and $locks{$file}{USER} ne $ENV{GL_USER}) { + if ( $locks{$file} and $locks{$file}{USER} ne $ENV{GL_USER} ) { print "$refex '$file' locked by '$locks{$file}{USER}'"; last; } diff --git a/src/VREF/refex-expr b/src/VREF/refex-expr index 8403469..b788dd9 100755 --- a/src/VREF/refex-expr +++ b/src/VREF/refex-expr @@ -7,8 +7,8 @@ use warnings; my $rule = $ARGV[7]; die "\n\nFATAL: GL_REFEX_EXPR_ doesn't exist\n(your admin probably forgot the rc file change needed for this to work)\n\n" - unless exists $ENV{"GL_REFEX_EXPR_" . $rule}; -my $res = $ENV{"GL_REFEX_EXPR_" . $rule} || 0; + unless exists $ENV{ "GL_REFEX_EXPR_" . $rule }; +my $res = $ENV{ "GL_REFEX_EXPR_" . $rule } || 0; print "$ARGV[6] ($res)\n" if $res; exit 0; |