mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-11-15 13:34:18 +01:00
15 lines
290 B
Bash
Executable File
15 lines
290 B
Bash
Executable File
#! /bin/sh
|
|
|
|
find . \( -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
|