fix a case in ctmv when the start and end directory are the same

This commit is contained in:
Cary Sandvig 2000-10-05 23:07:15 +00:00
parent 15c97dcef4
commit a667bcc97b
1 changed files with 1 additions and 6 deletions

View File

@ -406,12 +406,7 @@ sub CTCcaseMv {
$ret = system( "cleartool co -nc $parent\n" ) ;
if ( $ret == 0 ) {
$ret = system( "cleartool co -nc $parent2\n" ) ;
if ( $ret == 0 ) {
# now move the element
$ret = &CTURetCode( system( "cleartool mv $elem $elem2\n" )) ;
} else {
$ret = 0 ;
}
$ret = &CTURetCode( system( "cleartool mv $elem $elem2\n" )) ;
} else {
$ret = 0 ;
}