From 6fc348ed0fb8e53f7d337f6ddc0f023ef9b64f46 Mon Sep 17 00:00:00 2001 From: Jack Moffitt Date: Thu, 22 Aug 2013 23:03:02 -0600 Subject: [PATCH] Fix paths for backup and restore with new target build dirs. --- Makefile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.in b/Makefile.in index 43a70f6ebfe..c086feeb3dd 100644 --- a/Makefile.in +++ b/Makefile.in @@ -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