mirror of
				git://git.code.sf.net/p/zsh/code
				synced 2025-11-04 07:21:06 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
	
		
			300 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
	
		
			300 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
#! /bin/sh
 | 
						|
 | 
						|
find . -name .git -prune -o -name '?*.*' -prune -o -name .preconfig -print | (
 | 
						|
    while read pre; do
 | 
						|
	cmd=`echo $pre | sed 's,^,cd ,;s,/\([^/]*\)$, \&\& ./\1,'`
 | 
						|
	echo >&2 "$cmd"
 | 
						|
	if ( eval "$cmd" ); then :; else
 | 
						|
	    echo "$0: $pre failed (status $?)"
 | 
						|
	    exit 1
 | 
						|
	fi
 | 
						|
    done
 | 
						|
)
 | 
						|
 | 
						|
exit 0
 |