Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Use user's login shell, no need to force bash #14

Merged
merged 1 commit into from

2 participants

@bronson

Here's a minor fixup to my previous pull request. Thanks for the quick merge!

@bronson bronson Use user's login shell, no need to force bash
Also display only the ssh command, not all the cd biznass.
a48d30a
@tj tj merged commit 38c7c2a into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jun 20, 2012
  1. @bronson

    Use user's login shell, no need to force bash

    bronson authored
    Also display only the ssh command, not all the cd biznass.
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 bin/deploy
View
4 bin/deploy
@@ -135,8 +135,8 @@ run() {
console() {
local path="`config_get path`/current"
local shell="`ssh_command`"
- echo $shell -t "cd $path; bash --login"
- exec $shell -t "cd $path; bash --login"
+ echo $shell
+ exec $shell -t "cd $path; \$SHELL --login"
}
#
Something went wrong with that request. Please try again.