Restructure installation paths
This commit is contained in:
2
github-fast-env/bin/github-fast-env
Normal file
2
github-fast-env/bin/github-fast-env
Normal file
@@ -0,0 +1,2 @@
|
||||
#/usr/bin/env bash
|
||||
/usr/lib/github-fast-env/github-fast-env.rb "$@"
|
@@ -85,7 +85,7 @@ def read_command(control_socket)
|
||||
end
|
||||
|
||||
def set_up_named_pipes(control_socket, connection_id)
|
||||
pipe_base_path = "/#{$run_base_path}/github-fast-envd.#{connection_id}"
|
||||
pipe_base_path = "/#{$runtime_directory}/github-fast-envd.#{connection_id}"
|
||||
pipe_base_path_encoded = Base64.encode64(pipe_base_path).delete("\n")
|
||||
|
||||
stdin = open_pipe("#{pipe_base_path}.stdin")
|
||||
@@ -119,7 +119,7 @@ def set_up_named_pipes(control_socket, connection_id)
|
||||
end
|
||||
|
||||
def clean_up_named_pipes(control_socket, connection_id)
|
||||
pipe_base_path = "/#{$run_base_path}/github-fast-envd.#{connection_id}"
|
||||
pipe_base_path = "/#{$runtime_directory}/github-fast-envd.#{connection_id}"
|
||||
|
||||
if File.exist?("#{pipe_base_path}.stdin")
|
||||
File.delete("#{pipe_base_path}.stdin")
|
Reference in New Issue
Block a user