- Timestamp:
- Mar 3, 2009, 3:51:23 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dasscm/dasscm
r260 r267 247 247 # 248 248 if ($DASSCM_PASSWORD) { 249 $svnPasswordCredentials = " --password $DASSCM_PASSWORD";249 $svnPasswordCredentials = " --password '$DASSCM_PASSWORD' "; 250 250 } 251 251 } … … 432 432 $rc_update = 433 433 run_interactive( 434 "$SVN ls --no-auth-cache --username $username --password $password$DASSCM_SVN_REPOSITORY"434 "$SVN ls --no-auth-cache --username '$username' --password '$password' $DASSCM_SVN_REPOSITORY" 435 435 ); 436 436 } else { 437 437 ( $rc_update, my @result ) = 438 438 run_command( 439 "$SVN ls --non-interactive --no-auth-cache --username $username --password $password$DASSCM_SVN_REPOSITORY"439 "$SVN ls --non-interactive --no-auth-cache --username '$username' --password '$password' $DASSCM_SVN_REPOSITORY" 440 440 ); 441 441 … … 588 588 # set environment variables 589 589 # 590 $ENV{'DASSCM_USERNAME'} = $input_username;591 $ENV{'DASSCM_PASSWORD'} = $input_password;590 $ENV{'DASSCM_USERNAME'} = "$input_username"; 591 $ENV{'DASSCM_PASSWORD'} = "$input_password"; 592 592 593 593 print "subversion access okay\n\n", "DASSCM_USERNAME: $input_username\n", … … 632 632 print "\n"; 633 633 } 634 635 634 636 635 637 sub update(@) … … 749 751 my $retcode = 750 752 run_interactive( 751 "$SVN commit $svnOptions --username $DASSCM_USERNAME$svnPasswordCredentials $DASSCM_REPO"753 "$SVN commit $svnOptions --username '$DASSCM_USERNAME' $svnPasswordCredentials $DASSCM_REPO" 752 754 ); 753 755
Note:
See TracChangeset
for help on using the changeset viewer.