diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2016-04-07 19:24:41 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2016-04-07 19:24:41 +0900 |
commit | 26af1b31356587aa2af7f1270e10687870be7496 (patch) | |
tree | 1541852cb43a6d6a119fc6a1243d61413be85c00 | |
parent | de06b35e47f0977244e6eeb8a2eb167320157394 (diff) | |
download | poe-26af1b31356587aa2af7f1270e10687870be7496.tar.gz |
sandbox: 処理系は /opt じゃなくて /usr にインストールすることにした
-rw-r--r-- | Rakefile | 4 | ||||
-rw-r--r-- | sandbox/child.c | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -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", |