Replace pwd by dirname
This commit is contained in:
parent
7dfb984d27
commit
edc32f9ca2
4
main.sh
4
main.sh
@ -1,8 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
source $(pwd)/variables.conf
|
||||
source "$(dirname "$0")/variables.conf"
|
||||
|
||||
KEY="$(pwd)/dns.key"
|
||||
KEY="$(dirname "$0")/dns.key"
|
||||
TTL=604800
|
||||
|
||||
FQDN=$(hostname)
|
||||
|
Loading…
x
Reference in New Issue
Block a user