diff options
author | Richard Maw <richard.maw@codethink.co.uk> | 2018-07-25 16:45:29 +0100 |
---|---|---|
committer | Richard Maw <richard.maw@codethink.co.uk> | 2018-07-27 17:37:35 +0100 |
commit | 932844345d5b0b7c4123e3f50a6ab0b9ce14a571 (patch) | |
tree | 79ef047ede7171bbff76ba4ae2c0d5333a2acc99 | |
parent | 9bae8ee8c896fb20441b8e964505b8fa645ddd27 (diff) | |
download | buildstream-richardmaw/wip/log-show.tar.gz |
WIP: bst-here fixesrichardmaw/wip/log-show
-rwxr-xr-x | contrib/bst-here | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/bst-here b/contrib/bst-here index 037788e3a..c6f17a2c2 100755 --- a/contrib/bst-here +++ b/contrib/bst-here @@ -94,12 +94,12 @@ done BST_HERE_PS1="\[\033[01;34m\]\w\[\033[00m\]> " if [ "$#" -eq 0 ]; then - command="/bin/bash -i" + set -- /bin/bash -i else - command="/usr/local/bin/bst $@" + set -- /bin/sh -c 'exec bst "$@"' - "$@" fi -if "$update" == true +if [ "$update" = true ] then docker pull "$bst_here_image" fi @@ -123,4 +123,4 @@ exec docker run --rm -i${is_tty:+ -t} \ $extra_volumes_opt \ --workdir /src \ "$bst_here_image" \ - $command + "$@" |