mirror of https://github.com/A2osX/A2osX.git
fix MV when dest does not exist
This commit is contained in:
parent
75a3e9572a
commit
6340bc77fd
|
@ -233,9 +233,9 @@ CS.RUN.REG ldx #2
|
||||||
.2 .DO X.DELETE.SOURCE=1 mv file, check if srcbase=dstbase
|
.2 .DO X.DELETE.SOURCE=1 mv file, check if srcbase=dstbase
|
||||||
bne .3 overwrite, copy over
|
bne .3 overwrite, copy over
|
||||||
|
|
||||||
lda hSrcBasePath
|
>LDA.G hSrcBasePath
|
||||||
jsr CS.RUN.PushPathA
|
jsr CS.RUN.PushPathA
|
||||||
lda hDstBasePath
|
>LDA.G hDstBasePath
|
||||||
jsr CS.RUN.PushPathA
|
jsr CS.RUN.PushPathA
|
||||||
>SYSCALL StrCaseCmp
|
>SYSCALL StrCaseCmp
|
||||||
bcs .3 not same dir, go copy/delete
|
bcs .3 not same dir, go copy/delete
|
||||||
|
|
Loading…
Reference in New Issue