- Timestamp:
- Oct 8, 2008, 5:25:26 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dasscm/dasscm
r234 r235 6 6 7 7 use Env 8 qw($DASSCM_PROD $DASSCM_REPO $USER $DASSCM_USERNAME $DASSCM_USER $DASSCM_PASSWORD );8 qw($DASSCM_PROD $DASSCM_REPO $USER $DASSCM_USERNAME $DASSCM_USER $DASSCM_PASSWORD $SHELL); 9 9 use Cwd; 10 10 use Getopt::Long; … … 166 166 167 167 # 168 # check if local repository directory exist (if not creating by init) 168 # check if local repository directory exist 169 # (if not creating by init) 169 170 # 170 171 if ( $command ne "init" ) { … … 425 426 check_env(); 426 427 427 my $input_username = $ 1;428 my $input_username = $_[0]; 428 429 429 430 if ( not $input_username ) { … … 459 460 "Server Repository: $DASSCM_SVN_REPOSITORY\n", "\n", "[dasscm shell]\n\n"; 460 461 461 exec("bash") or die "failed to start new shell"; 462 my $shell = $SHELL || "bash"; 463 exec($shell) or die "failed to start new shell"; 462 464 } 463 465 … … 466 468 check_parameter( @_, 1 ); 467 469 check_env(); 470 471 # don't do repository creation (svn mkdir) here, 472 # because then their must be a lot of prior checks 468 473 469 474 # update complete repository … … 793 798 $command = "ls"; 794 799 ls(@ARGV); 795 } elsif ( m/up/i) {800 } elsif ( (m/update/i) || (m/up/i) ) { 796 801 $command = "update"; 797 802 update(@ARGV); … … 808 813 $command = "diff"; 809 814 diff(@ARGV); 810 } elsif ( m/status/i) {815 } elsif ( (m/status/i) || (m/st/i) ) { 811 816 $command = "status"; 812 817 status(@ARGV);
Note:
See TracChangeset
for help on using the changeset viewer.