aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2016-04-07 19:24:41 +0900
committerKazuki Yamaguchi <k@rhe.jp>2016-04-07 19:24:41 +0900
commit26af1b31356587aa2af7f1270e10687870be7496 (patch)
tree1541852cb43a6d6a119fc6a1243d61413be85c00
parentde06b35e47f0977244e6eeb8a2eb167320157394 (diff)
downloadpoe-26af1b31356587aa2af7f1270e10687870be7496.tar.gz
sandbox: 処理系は /opt じゃなくて /usr にインストールすることにした
-rw-r--r--Rakefile4
-rw-r--r--sandbox/child.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/Rakefile b/Rakefile
index 6d4752f..e89f39f 100644
--- a/Rakefile
+++ b/Rakefile
@@ -67,7 +67,7 @@ namespace :compiler do
destdir = $datadir + "/env/ruby/#{id}"
raise ArgumentError, "already installed?" if Dir.exist?(destdir.to_s)
- prefix = "/opt"
+ prefix = "/usr"
Dir.mktmpdir { |tmpdir|
FileUtils.chdir(tmpdir) {
@@ -111,7 +111,7 @@ namespace :compiler do
destdir = $datadir + "/env/php/#{id}"
raise ArgumentError, "already installed?" if Dir.exist?(destdir.to_s)
- prefix = "/opt"
+ prefix = "/usr"
Dir.mktmpdir { |tmpdir|
FileUtils.chdir(tmpdir) {
diff --git a/sandbox/child.c b/sandbox/child.c
index caa6fc5..9b2dc17 100644
--- a/sandbox/child.c
+++ b/sandbox/child.c
@@ -56,7 +56,7 @@ noreturn void poe_child_do(struct playground *pg,
bug("dup2/close stderr failed");
char *const env[] = {
- "PATH=/opt/bin:/usr/bin",
+ "PATH=/usr/bin",
"USER=" POE_USERNAME,
"LOGNAME=" POE_USERNAME,
"HOME=/tmp",