From 6c9c7834f9ab7af0e3412c8cf35c100b5d18b8b1 Mon Sep 17 00:00:00 2001 From: "Kyle J. McKay" Date: Tue, 21 Jun 2022 01:37:08 -0700 Subject: [PATCH] install.sh: expand @cfg_name@ in processed scripts Make the $cfg_name value available in processed scripts that do not have access to the full set of configuration variables. --- install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install.sh b/install.sh index 6aae1b0..7073586 100755 --- a/install.sh +++ b/install.sh @@ -776,6 +776,7 @@ perl -I"$PWD" -M$GIROCCO_CONF -MGirocco::Validator -i -p \ -e 's/\@fetch_stash_refs\@/"$Girocco::Config::fetch_stash_refs"/g;' \ -e 's/\@suppress_git_ssh_logging\@/"$Girocco::Config::suppress_git_ssh_logging"/g;' \ -e 's/\@max_file_size512\@/"$Girocco::Config::max_file_size512"/g;' \ + -e 's/\@cfg_name\@/"$Girocco::Config::name"/g;' \ -e 'close ARGV if eof;' \ "$basedir"/jobs/*.sh "$basedir"/jobd/*.sh \ "$basedir"/taskd/*.sh "$basedir"/gitweb/*.sh \ -- 2.11.4.GIT