Optimized path

This commit is contained in:
Kevin Veen-Birkenbach 2020-06-24 09:19:51 +02:00
parent 9cab8f25ed
commit 32d4927ad4

View File

@ -7,8 +7,7 @@
# shellcheck disable=SC2015 #Deactivate bool hint # shellcheck disable=SC2015 #Deactivate bool hint
# shellcheck disable=SC2005 #Remove useless echo hint # shellcheck disable=SC2005 #Remove useless echo hint
# shellcheck disable=SC2010 #Deactivate ls | grep hint # shellcheck disable=SC2010 #Deactivate ls | grep hint
REPOSITORY_PATH="$(readlink -f "${0}" | sed -e 's/\/scripts\/.*//g')"
REPOSITORY_PATH=$(readlink -f "$(dirname "$(readlink -f "${0}")")/../../") # Propably this can be optimized
CONFIGURATION_PATH="$REPOSITORY_PATH""/configuration/" CONFIGURATION_PATH="$REPOSITORY_PATH""/configuration/"
PACKAGE_PATH="$CONFIGURATION_PATH""packages/" PACKAGE_PATH="$CONFIGURATION_PATH""packages/"
TEMPLATE_PATH="$CONFIGURATION_PATH""templates/"; TEMPLATE_PATH="$CONFIGURATION_PATH""templates/";