From cccde3ea94d7fae104f85ac35f5bc457d6b0fff3 Mon Sep 17 00:00:00 2001 From: Elian Loraux <elian.loraux@tetras-libre.fr> Date: Wed, 23 Oct 2024 11:23:33 +0200 Subject: [PATCH] fix path and prefix --- upgrade/All.sh | 6 +++--- upgrade/Monit.sh | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/upgrade/All.sh b/upgrade/All.sh index ea2a191..b492c37 100644 --- a/upgrade/All.sh +++ b/upgrade/All.sh @@ -16,14 +16,14 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -echo "============= $(basename "$0") =================" +echo "RUN $(basename "$0") ===" -if [ ! -e $(pwd)/$(dirname "$0")/../main.env ] +if [ ! -e $(dirname "$0")/../main.env ] then echo "Please copy in racine of NoCloud Auto Installer main.env.sample to main.env and edit it" exit 1 fi -. $(pwd)/$(dirname "$0")/../main.env +. $(dirname "$0")/../main.env $DIR/utils/configure_base_tools.sh diff --git a/upgrade/Monit.sh b/upgrade/Monit.sh index 2542405..b94c5a7 100644 --- a/upgrade/Monit.sh +++ b/upgrade/Monit.sh @@ -1,6 +1,6 @@ #!/bin/bash -echo "=== RUN $(basename "$0") ===" +echo "RUN $(basename "$0") ===" if [ ! -e $(dirname "$0")/../main.env ] then -- GitLab