Skip to content

Commit e78a26b

Browse files
committed
Make script callable from everywhere. Fixes BorisWilhelms#9
1 parent 39c0d7c commit e78a26b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

scripts/arch-create-dotnet-devcert.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/sh
2-
. ./common.sh
2+
. "$(dirname "$0")/common.sh"
33

44
OLD_CRT=/etc/ca-certificates/trust-source/localhost.p11-kit
55
if [ -f "$OLD_CRT" ]; then

scripts/fedora-create-dotnet-devcert.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/sh
2-
. ./common.sh
2+
. "$(dirname "$0")/common.sh"
33

44
$SUDO cp $CRTFILE "/etc/pki/ca-trust/source/anchors/"
55
$SUDO update-ca-trust

scripts/ubuntu-create-dotnet-devcert.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/sh
2-
. ./common.sh
2+
. "$(dirname "$0")/common.sh"
33

44
$SUDO rm /etc/ssl/certs/dotnet-devcert.pem
55
$SUDO cp $CRTFILE "/usr/local/share/ca-certificates"

0 commit comments

Comments
 (0)