Permalink
Browse files

Merge pull request #12 from bronson/patch-2

Make `deploy run` default to the current deploy directory.
  • Loading branch information...
2 parents 009572f + 8498502 commit a72fee09974d3fa27bf0816cc41dfb7ef798bd05 @tj tj committed Jun 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/deploy
View
@@ -340,7 +340,7 @@ while test $# -ne 0; do
-c|--config) set_config_path $1; shift ;;
-C|--chdir) log cd $1; cd $1; shift ;;
-T|--no-tests) TEST=0 ;;
- run|exec) require_env; run "cd `config_get path` && $@"; exit ;;
+ run|exec) require_env; run "cd `config_get path`/current && $@"; exit ;;
console) require_env; console; exit ;;
curr|current) require_env; current_commit; exit ;;
prev|previous) require_env; nth_deploy_commit 2; exit ;;

0 comments on commit a72fee0

Please sign in to comment.