This is an automated email from the ASF dual-hosted git repository. radu pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/sling-tooling-release.git
commit af1ed82ed6ab2a09dcf7e3847c9547da431ddc7b Author: Radu Cotescu <[email protected]> AuthorDate: Mon Jan 28 17:32:33 2019 +0100 read update_reporter.config from ~/.config --- .gitignore | 1 - update_reporter.sh | 8 +++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index c3ada51..6a3417b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1 @@ /out/ -update_reporter.config diff --git a/update_reporter.sh b/update_reporter.sh index 94bed0c..a296d64 100755 --- a/update_reporter.sh +++ b/update_reporter.sh @@ -4,7 +4,13 @@ function display_usage() { echo "$0 <path_to_file_containing_release_names>" } -source update_reporter.config +if [[ -f ~/.config/update_reporter.config ]]; then + source ~/.config/update_reporter.config +else + echo "Please provide a configuration file at ~/.config/update_reporter.config. A sample file is provided in this repository." + exit 1 +fi + if [[ -z "${APACHE_USER}" ]]; then echo "Please set the APACHE_USER variable in the update_reporter.config file." exit 1
