config: working directory tweaks
This commit is contained in:
parent
cc59e44915
commit
7808518432
|
@ -32,7 +32,7 @@ stack() {
|
||||||
#export GITLAB_CI="true"
|
#export GITLAB_CI="true"
|
||||||
echo Selected "$_cluster_name" with IP "$_cluster_ip"
|
echo Selected "$_cluster_name" with IP "$_cluster_ip"
|
||||||
echo "$_cluster_name" >"$_stackspin_cluster_cache"
|
echo "$_cluster_name" >"$_stackspin_cluster_cache"
|
||||||
builtin cd "$STACKSPIN"
|
test "$PWD" = "$HOME" && builtin cd "$STACKSPIN"
|
||||||
;;
|
;;
|
||||||
(sso) builtin cd "$STACKSPIN"
|
(sso) builtin cd "$STACKSPIN"
|
||||||
"$0" exec dashboard --container backend -- flask "$@";;
|
"$0" exec dashboard --container backend -- flask "$@";;
|
||||||
|
|
|
@ -16,3 +16,4 @@ esac
|
||||||
shift $(expr $# \& $# \< 3 \| 3)
|
shift $(expr $# \& $# \< 3 \| 3)
|
||||||
git clone $remote "$@" $dir --recurse-submodules
|
git clone $remote "$@" $dir --recurse-submodules
|
||||||
cd "${dir:-${4:-$2}}"
|
cd "${dir:-${4:-$2}}"
|
||||||
|
exec
|
||||||
|
|
Loading…
Reference in New Issue