mirror of
https://github.com/kevinveenbirkenbach/linux-image-manager.git
synced 2024-11-10 01:51:03 +01:00
Optimized path
This commit is contained in:
parent
9cab8f25ed
commit
32d4927ad4
@ -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/";
|
||||||
|
Loading…
Reference in New Issue
Block a user