From e091a029a89ec5e89c15d74b8e819ece406b1b3c Mon Sep 17 00:00:00 2001 From: LSmyrnaios Date: Wed, 22 Sep 2021 17:06:30 +0300 Subject: [PATCH] - Fix the project's name inside "settings.gradle". - Fix the "change-dir" to the "libs"-directory in "installAndRun.sh" --- installAndRun.sh | 7 ++++++- settings.gradle | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/installAndRun.sh b/installAndRun.sh index f71cbd0..7e44094 100755 --- a/installAndRun.sh +++ b/installAndRun.sh @@ -22,13 +22,18 @@ if [[ ! -f $inputDataFile ]]; then touch $inputDataFile echo "$workerId,$controllerBaseUrl" >> $inputDataFile + echo -e "\n\n" fi gradleVersion="7.2" if [[ justInstall -eq 0 ]]; then - cd libs || (mkdir libs && (cd libs || exit)) + if [ ! -d libs ]; then + mkdir libs || (echo -e "The directory \"libs\" could not be created! Exiting.." && exit 2) + fi + + cd libs || exit 3 git clone https://github.com/LSmyrnaios/PublicationsRetriever.git # We assume there is no previously source-code here, if so, it will be overwritten. # Do not need to perform a string-replace in "build.gradle", since it automatically gets all ".jar" files. diff --git a/settings.gradle b/settings.gradle index 0c47f88..d54c37b 100644 --- a/settings.gradle +++ b/settings.gradle @@ -3,4 +3,4 @@ pluginManagement { gradlePluginPortal() } } -rootProject.name = 'urls_worker' +rootProject.name = 'UrlsWorker'