From 3d915945275be5c794a804cfd852e494ca961efb Mon Sep 17 00:00:00 2001 From: Milan Kolar Date: Thu, 11 Feb 2021 22:32:41 +0100 Subject: [PATCH] fix pype root path in shell scripts --- tools/create_zip.sh | 2 +- tools/make_docs.sh | 2 +- tools/run_settings.sh | 2 +- tools/run_tests.sh | 2 +- tools/run_tray.sh | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tools/create_zip.sh b/tools/create_zip.sh index ea2ceb0100..1d985c0a6b 100755 --- a/tools/create_zip.sh +++ b/tools/create_zip.sh @@ -117,7 +117,7 @@ echo -e "${RST}" detect_python || return 1 # Directories -pype_root=$(dirname $(realpath $(dirname $(dirname "${BASH_SOURCE[0]}")))) +pype_root=$(realpath $(dirname $(dirname "${BASH_SOURCE[0]}"))) pushd "$pype_root" > /dev/null || return > /dev/null echo -e "${BIGreen}>>>${RST} Generating zip from current sources ..." diff --git a/tools/make_docs.sh b/tools/make_docs.sh index 8828299b06..1b4159c61f 100755 --- a/tools/make_docs.sh +++ b/tools/make_docs.sh @@ -70,7 +70,7 @@ art echo -e "${RST}" # Directories -pype_root=$(dirname $(realpath $(dirname $(dirname "${BASH_SOURCE[0]}")))) +pype_root=$(realpath $(dirname $(dirname "${BASH_SOURCE[0]}"))) pushd "$pype_root" > /dev/null || return > /dev/null echo -e "${BIGreen}>>>${RST} Running apidoc ..." diff --git a/tools/run_settings.sh b/tools/run_settings.sh index d2fa7e095f..b8096e69ff 100755 --- a/tools/run_settings.sh +++ b/tools/run_settings.sh @@ -117,7 +117,7 @@ echo -e "${RST}" detect_python || return 1 # Directories -pype_root=$(dirname $(realpath $(dirname $(dirname "${BASH_SOURCE[0]}")))) +pype_root=$(realpath $(dirname $(dirname "${BASH_SOURCE[0]}"))) pushd "$pype_root" > /dev/null || return > /dev/null echo -e "${BIGreen}>>>${RST} Generating zip from current sources ..." diff --git a/tools/run_tests.sh b/tools/run_tests.sh index 7e68e0b0ab..5ba5505919 100755 --- a/tools/run_tests.sh +++ b/tools/run_tests.sh @@ -113,7 +113,7 @@ echo -e "${RST}" detect_python || return 1 # Directories -pype_root=$(dirname $(realpath $(dirname $(dirname "${BASH_SOURCE[0]}")))) +pype_root=$(realpath $(dirname $(dirname "${BASH_SOURCE[0]}"))) pushd "$pype_root" || return > /dev/null echo -e "${BIGreen}>>>${RST} Testing Pype ..." diff --git a/tools/run_tray.sh b/tools/run_tray.sh index d9e08a3464..80af89acb2 100755 --- a/tools/run_tray.sh +++ b/tools/run_tray.sh @@ -117,7 +117,7 @@ echo -e "${RST}" detect_python || return 1 # Directories -pype_root=$(dirname $(dirname "$(realpath ${BASH_SOURCE[0]})")) +pype_root=$(realpath $(dirname $(dirname "${BASH_SOURCE[0]}"))) pushd "$pype_root" > /dev/null || return > /dev/null echo -e "${BIGreen}>>>${RST} Running Pype Tray with debug option ..."