fix a case in ctmv when the start and end directory are the same
This commit is contained in:
parent
15c97dcef4
commit
a667bcc97b
|
|
@ -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 ;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue