commit 6683367a7545169ae72875c9b527865385c6f98c
parent 3931ae95451df760e9eb7f648da38247a5a0e438
Author: Kyle Milz <kyle@getaddrinfo.net>
Date: Mon, 4 Apr 2016 20:16:11 -0600
src: SCV_ROOT -> CITRUN_ROOT
Diffstat:
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/SCV/Project.pm b/SCV/Project.pm
@@ -48,8 +48,8 @@ EOF
my $cwd = getcwd;
- $ENV{SCV_PATH} = "$cwd/src/compilers";
- $ENV{PATH} = "$ENV{SCV_PATH}:$ENV{PATH}";
+ $ENV{CITRUN_PATH} = "$cwd/src/compilers";
+ $ENV{PATH} = "$ENV{CITRUN_PATH}:$ENV{PATH}";
# Jam style LDFLAGS and LDADD
$ENV{LINKFLAGS} = "-L$cwd/lib";
diff --git a/src/instrument_main.cc b/src/instrument_main.cc
@@ -21,16 +21,16 @@ static llvm::cl::OptionCategory ToolingCategory("instrument options");
void
clean_path()
{
- char *scv_path = getenv("SCV_PATH");
+ char *scv_path = getenv("CITRUN_PATH");
char *path = getenv("PATH");
if (scv_path == NULL)
- errx(1, "SCV_PATH not found in environment, not running "
+ errx(1, "CITRUN_PATH not found in environment, not running "
"native compiler");
else if (path == NULL)
errx(1, "PATH not set, your build system needs to use "
"the PATH for this tool to be useful.");
- // Filter SCV_PATH out of PATH
+ // Filter CITRUN_PATH out of PATH
std::stringstream path_ss(path);
std::ostringstream new_path;
std::string component;
@@ -43,7 +43,7 @@ clean_path()
if (first_component == 0)
new_path << ":";
- // It wasn't $SCV_PATH, keep it
+ // It wasn't $CITRUN_PATH, keep it
new_path << component;
first_component = 0;
}