qnabot-on-aws
qnabot-on-aws copied to clipboard
Shell and other commands not working in Ubuntu linux
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:
-
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.
-
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.