Closed seantleonard closed 4 months ago
does this samples repo expect that i clone the repo onto a Linux OS? maybe pulling on Windows is messing with the line endings?
fix was to follow this AskUbuntu guidance of installing dos2unix
and running it against the two files specified.
https://askubuntu.com/a/1046371
sudo apt-get update
sudo apt-get install dos2unix
sudo dos2unix installSQLtools.sh
sudo dos2unix postCreateCommand.sh
sudo installSQLtools.sh
-> without sudo , this fails due to path permissions errors /opt/sqlcmd
sudo postCreateCommand.sh <params>
More permanent fix would be to fix how line endings are pulled down for this repo in git settings.
This issue is for a: (mark with an
x
)Minimal steps to reproduce
postCreateCommand.sh
fails with log message below.Any log messages given by the failure
Expected/desired behavior
OS and Version?
Versions
main
on this repo https://github.com/Azure-Samples/azure-sql-library-app-blazor/commit/0a1ba8c97744d887f209d95c7f932ddf0eb8b04c