qnabot-on-aws icon indicating copy to clipboard operation
qnabot-on-aws copied to clipboard

Shell and other commands not working in Ubuntu linux

Open bchunduri opened this issue 2 months ago • 2 comments

Team,

We use Ubuntu (Ubuntu 22.04.2 LTS) linux machine to bootstrap the QnA bot solutions and render the stack templates to suit our environment.

The bootstrap fails at quite a few places as described below:

  1. The first line of the main Makefile contains shell command which do not exists in Ubuntu and it is more like a MacOS command shell. Please fix this so can support for any OS (MacOS, Windows, Linux) >> As an alternative we have amended the logic with a for loop.

  2. The pushd & popd commands in the file ml_model/embedding/package-model.sh fails though exists in the Linux, the reason is could be the sh shell it is using in the ml_model/embedding/Makefile that was incorrect >> Amending this with zsh worked where pushd and popd found in zsh or ksh shell.

Appreciate your review and fix on the above.

bchunduri avatar May 31 '24 08:05 bchunduri