Compare commits

...
5 Commits
Author SHA1 Message Date
David Dollar cd384e0d59 0.54.0 2012-08-14 17:00:19 -04:00
David Dollar 8921cac35b use Foreman::Process to extract command running 2012-08-14 17:00:01 -04:00
David Dollar 6042783e82 Merge pull request #245 from brntbeer/env_bash_fix
changed to check env for bash
2012-08-08 14:09:19 -07:00
brntbeer b7b3a9f898 changed to check env for bash 2012-08-08 13:53:36 -07:00
David Dollar 15643dcb3f changelog 2012-07-24 11:18:42 -04:00
5 changed files with 9 additions and 4 deletions
+4
View File
@@ -1,3 +1,7 @@
## 0.53.0 (2012-07-24)
* put app root in $HOME [David Dollar]
## 0.52.0 (2012-07-24) ## 0.52.0 (2012-07-24)
* wrap command in a runner that sources .profile.d scripts [David Dollar] * wrap command in a runner that sources .profile.d scripts [David Dollar]
+1 -1
View File
@@ -1,7 +1,7 @@
PATH PATH
remote: . remote: .
specs: specs:
foreman (0.53.0) foreman (0.54.0)
thor (>= 0.13.6) thor (>= 0.13.6)
GEM GEM
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# #
#/ Usage: foreman-runner [-d <dir>] [-p] <command> [<args>...] #/ Usage: foreman-runner [-d <dir>] [-p] <command> [<args>...]
#/ #/
+2 -1
View File
@@ -76,7 +76,8 @@ class Foreman::CLI < Thor
def run(*args) def run(*args)
load_environment! load_environment!
begin begin
exec engine.env, args.shelljoin process = Foreman::Process.new(args.shelljoin, :env => engine.env)
process.run
rescue Errno::EACCES rescue Errno::EACCES
error "not executable: #{args.first}" error "not executable: #{args.first}"
rescue Errno::ENOENT rescue Errno::ENOENT
+1 -1
View File
@@ -1,5 +1,5 @@
module Foreman module Foreman
VERSION = "0.53.0" VERSION = "0.54.0"
end end