mirror of
				https://github.com/kevinveenbirkenbach/linux-image-manager.git
				synced 2025-11-04 01:18:10 +00:00 
			
		
		
		
	Optimized path
This commit is contained in:
		@@ -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/";
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user