You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by da...@apache.org on 2013/07/04 05:49:51 UTC

svn commit: r1499638 - /subversion/trunk/tools/dist/backport.pl

Author: danielsh
Date: Thu Jul  4 03:49:51 2013
New Revision: 1499638

URL: http://svn.apache.org/r1499638
Log:
* tools/dist/backport.pl
  ($YES): Set to 0 or 1, not to undef, when the envvar is absent.

Modified:
    subversion/trunk/tools/dist/backport.pl

Modified: subversion/trunk/tools/dist/backport.pl
URL: http://svn.apache.org/viewvc/subversion/trunk/tools/dist/backport.pl?rev=1499638&r1=1499637&r2=1499638&view=diff
==============================================================================
--- subversion/trunk/tools/dist/backport.pl (original)
+++ subversion/trunk/tools/dist/backport.pl Thu Jul  4 03:49:51 2013
@@ -30,7 +30,7 @@ my $VIM = 'vim';
 my $STATUS = './STATUS';
 my $BRANCHES = '^/subversion/branches';
 
-my $YES = !!$ENV{YES}; # batch mode: eliminate prompts, add sleeps
+my $YES = ($ENV{YES} // 0) ? 1 : 0; # batch mode: eliminate prompts, add sleeps
 my $MAY_COMMIT = qw[false true][0];
 my $DEBUG = qw[false true][0]; # 'set -x', etc
 my ($AVAILID) = $ENV{AVAILID} // do {