mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
Fix paths for backup and restore with new target build dirs.
This commit is contained in:
parent
3e36dc3e68
commit
6fc348ed0f
1 changed files with 2 additions and 2 deletions
|
@ -344,7 +344,7 @@ endif
|
|||
|
||||
.PHONY: backup-rust restore-rust
|
||||
backup-rust:
|
||||
-mv src/compiler/rust ..
|
||||
-mv $(B)src/compiler/rust ../$(CFG_TARGET_TRIPLES)
|
||||
|
||||
restore-rust:
|
||||
if [ -d ../rust ]; then rm -rf src/compiler/rust; mv ../rust src/compiler/; fi
|
||||
if [ -d ../$(CFG_TARGET_TRIPLES) ]; then rm -rf $(B)src/compiler/rust; mv ../$(CFG_TARGET_TRIPLES) $(B)src/compiler/rust; fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue