From c450cbaf5d47576568c6e0342321e63ddc27d0e6 Mon Sep 17 00:00:00 2001 From: edeediong Date: Thu, 19 Oct 2023 14:17:18 +0100 Subject: [PATCH] remove the interactive bash within the sh script --- src/runme/install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/runme/install.sh b/src/runme/install.sh index 572da03..7db97b9 100755 --- a/src/runme/install.sh +++ b/src/runme/install.sh @@ -23,8 +23,8 @@ $nanolayer_location \ "ghcr.io/devcontainers-contrib/features/npm-package:1.0.3" \ --option package='runme' -# Need a new shell to pick up NVM paths -bash -i << EOF +# check if compleetion is true + if [ "$COMPLETIONS" = "true" ]; then # Check if the current shell is Bash if [ "$(basename $SHELL)" = "bash" ]; then @@ -68,6 +68,6 @@ if [ "$COMPLETIONS" = "true" ]; then fi fi -EOF + echo 'Done!' \ No newline at end of file