about summary refs log tree commit diff
path: root/src/comp/driver
diff options
context:
space:
mode:
authorGraydon Hoare <graydon@mozilla.com>2011-03-25 15:07:27 -0700
committerGraydon Hoare <graydon@mozilla.com>2011-03-25 15:07:27 -0700
commitb2427509e2d53897b7c7797d5948773b63aed3df (patch)
treec5ae9e8136b521ccd19e2530ffbf5add8617ed55 /src/comp/driver
parent864e2ab24e98544dcde794995f5b1d66c4f047c6 (diff)
Another go at changing compile-command, this time using RBUILD env var.
Diffstat (limited to 'src/comp/driver')
-rw-r--r--src/comp/driver/rustc.rs2
-rw-r--r--src/comp/driver/session.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/comp/driver/rustc.rs b/src/comp/driver/rustc.rs
index 72ace8c3c2b..69644425758 100644
--- a/src/comp/driver/rustc.rs
+++ b/src/comp/driver/rustc.rs
@@ -229,5 +229,5 @@ impure fn main(vec[str] args) {
 // indent-tabs-mode: nil
 // c-basic-offset: 4
 // buffer-file-coding-system: utf-8-unix
-// compile-command: "make -k -C ../.. 2>&1 | sed -e 's/\\/x\\//x:\\//g'";
+// compile-command: "make -k -C $RBUILD 2>&1 | sed -e 's/\\/x\\//x:\\//g'";
 // End:
diff --git a/src/comp/driver/session.rs b/src/comp/driver/session.rs
index 6c5fc885417..797fb7e2395 100644
--- a/src/comp/driver/session.rs
+++ b/src/comp/driver/session.rs
@@ -95,5 +95,5 @@ obj session(ast.crate_num cnum, cfg targ,
 // indent-tabs-mode: nil
 // c-basic-offset: 4
 // buffer-file-coding-system: utf-8-unix
-// compile-command: "make -k -C ../.. 2>&1 | sed -e 's/\\/x\\//x:\\//g'";
+// compile-command: "make -k -C $RBUILD 2>&1 | sed -e 's/\\/x\\//x:\\//g'";
 // End: