mirror of
https://github.com/kevinveenbirkenbach/linux-image-manager.git
synced 2024-12-22 20:15: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=SC2005 #Remove useless echo hint
|
||||
# shellcheck disable=SC2010 #Deactivate ls | grep hint
|
||||
|
||||
REPOSITORY_PATH=$(readlink -f "$(dirname "$(readlink -f "${0}")")/../../") # Propably this can be optimized
|
||||
REPOSITORY_PATH="$(readlink -f "${0}" | sed -e 's/\/scripts\/.*//g')"
|
||||
CONFIGURATION_PATH="$REPOSITORY_PATH""/configuration/"
|
||||
PACKAGE_PATH="$CONFIGURATION_PATH""packages/"
|
||||
TEMPLATE_PATH="$CONFIGURATION_PATH""templates/";
|
||||
|
Loading…
Reference in New Issue
Block a user