mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Only restore rust if the backup exists.
This commit is contained in:
parent
1135b0da2d
commit
85f80f0c35
1 changed files with 1 additions and 2 deletions
|
@ -285,5 +285,4 @@ backup-rust:
|
|||
mv src/compiler/rust ..
|
||||
|
||||
restore-rust:
|
||||
rm -rf src/compiler/rust
|
||||
mv ../rust src/
|
||||
if [ -d ../rust ]; then rm -rf src/rust; mv ../rust src/; fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue