Browse Source

Обновить 'avto4certbot/avto4certbot.sh'

Берсенев Валерий 2 months ago
parent
commit
17d275f740
1 changed files with 1 additions and 1 deletions
  1. 1 1
      avto4certbot/avto4certbot.sh

+ 1 - 1
avto4certbot/avto4certbot.sh

@@ -11,7 +11,7 @@ sname="avto4certbot";
11 11
 path_ssl="/etc/ssl";
12 12
 path_cert="/etc/letsencrypt/live";
13 13
 # script path
14
-path_script=$( cd -- $( dirname -- "${BASH_SOURCE[0]}" ) &> /dev/null && pwd );
14
+path_script="$(dirname $(readlink --canonicalize-existing "$0"))";
15 15
 source "$path_script/avto4certbot.conf";
16 16
 
17 17
 ## - nginx