feat: Allow to run script from outside ~/.bootstrap directory
This commit is contained in:
		@@ -1,7 +1,7 @@
 | 
			
		||||
#!/bin/bash
 | 
			
		||||
 | 
			
		||||
for file in config.d/*.bash
 | 
			
		||||
do
 | 
			
		||||
  bash $file
 | 
			
		||||
done
 | 
			
		||||
BASEDIR=$(cd "$(dirname "$0")" && pwd)
 | 
			
		||||
 | 
			
		||||
for file in "${BASEDIR}"/config.d/*.bash; do
 | 
			
		||||
  bash "${file}"
 | 
			
		||||
done
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user