Skip to content

Commit

Permalink
remove the interactive bash within the sh script
Browse files Browse the repository at this point in the history
  • Loading branch information
edeediong committed Oct 19, 2023
1 parent 6f1d63e commit c450cba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/runme/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -68,6 +68,6 @@ if [ "$COMPLETIONS" = "true" ]; then
fi

fi
EOF


echo 'Done!'

0 comments on commit c450cba

Please sign in to comment.