From dfa7ca28bf2e8f5180fcfc4519d8d88bcfc6fec7 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Mon, 16 Oct 2017 21:31:59 +0200 Subject: [PATCH] [microdecision] Typo --- data/helpers.d/backend | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/helpers.d/backend b/data/helpers.d/backend index c0cbc616c..b715776e2 100644 --- a/data/helpers.d/backend +++ b/data/helpers.d/backend @@ -123,7 +123,7 @@ ynh_add_nginx_config () { # To avoid a break by set -u, use a void substitution ${var:-}. If the variable is not set, it's simply set with an empty variable. # Substitute in a nginx config file only if the variable is not empty if test -n "${path_url:-}"; then - # path_url_slash_less if path_url or a blank value if path_url is only '/' + # path_url_slash_less is path_url, or a blank value if path_url is only '/' path_url_slash_less=${path_url%/} ynh_replace_string "__PATH__/" "$path_url_slash_less/" "$finalnginxconf" ynh_replace_string "__PATH__" "$path_url" "$finalnginxconf"