Bugfix in fetchVarsFromVaultByFile: Detect variables with values à la "<VAULT>"
This commit is contained in:
		@@ -55,7 +55,7 @@ fetchVarsFromVaultByFile() {
 | 
			
		||||
	VARS_TO_FETCH=""
 | 
			
		||||
 | 
			
		||||
	for line in $(cat $@); do
 | 
			
		||||
		if [[ $line =~ .*=\<VAULT\>.* ]]; then
 | 
			
		||||
		if [[ $line =~ .*=[\"]*\<VAULT\>[\"]*.* ]]; then
 | 
			
		||||
			VARS_TO_FETCH+="$(echo -n $line | sed 's/=.*//') "
 | 
			
		||||
		fi
 | 
			
		||||
	done
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user