Skip to content

Commit

Permalink
console command now automatically cds to the current deploy dir
Browse files Browse the repository at this point in the history
  • Loading branch information
bronson committed Jun 19, 2012
1 parent 009572f commit 111d96d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions bin/deploy
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -133,9 +133,10 @@ run() {
# #


console() { console() {
local path="`config_get path`/current"
local shell="`ssh_command`" local shell="`ssh_command`"
echo $shell echo $shell -t "cd $path; bash --login"
exec $shell exec $shell -t "cd $path; bash --login"
} }


# #
Expand Down

0 comments on commit 111d96d

Please sign in to comment.