scripts/env: use explicit find location
Some find binaries do not imply the current directory. Found with shellcheck. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
		 Rosen Penev
					Rosen Penev
				
			
				
					committed by
					
						 Adrian Schmutzler
						Adrian Schmutzler
					
				
			
			
				
	
			
			
			 Adrian Schmutzler
						Adrian Schmutzler
					
				
			
						parent
						
							3b013dcdf8
						
					
				
				
					commit
					2fe5319d58
				
			| @@ -136,7 +136,7 @@ env_clear() { | |||||||
| 	env_init | 	env_init | ||||||
| 	[ -L "$BASEDIR/.config" ] && rm -f "$BASEDIR/.config" | 	[ -L "$BASEDIR/.config" ] && rm -f "$BASEDIR/.config" | ||||||
| 	[ -L "$BASEDIR/files" ] && rm -f "$BASEDIR/files" | 	[ -L "$BASEDIR/files" ] && rm -f "$BASEDIR/files" | ||||||
| 	[ -f "$ENVDIR/.config" ] || ( cd "$ENVDIR/files" && find | grep -vE '^\.$' > /dev/null ) | 	[ -f "$ENVDIR/.config" ] || ( cd "$ENVDIR/files" && find . | grep -vE '^\.$' > /dev/null ) | ||||||
| 	env_sync_data | 	env_sync_data | ||||||
| 	if ask_bool 1 "Do you want to keep your current config and files"; then | 	if ask_bool 1 "Do you want to keep your current config and files"; then | ||||||
| 		mkdir -p "$BASEDIR/files" | 		mkdir -p "$BASEDIR/files" | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user