BorisWilhelms / create-dotnet-devcert

A simple script that creates and trusts a self-signed development certificate for dotnet on Linux distributions.
https://blog.wille-zone.de/post/aspnetcore-devcert-for-ubuntu
MIT License
335 stars 74 forks source link

Running command from outside scripts folder fails #9

Closed siewers closed 2 years ago

siewers commented 2 years ago

First of all, awesome job!

When I'm running the command ./scripts//ubuntu-create-dotnet-devcert.sh, as written in the readme, I receive the error:

./scripts/ubuntu-create-dotnet-devcert.sh: 2: .: Can't open ./common.sh

However, when I run the command from the scripts folder, everything works as expected.

It would be nice to be able to invoke the command from any location.

BorisWilhelms commented 2 years ago

Thanks for the feedback. This is fixed now.