mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-12-05 01:10:17 +00:00
Initial revision
This commit is contained in:
7
.preconfig
Executable file
7
.preconfig
Executable file
@@ -0,0 +1,7 @@
|
|||||||
|
#! /bin/sh
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
autoconf
|
||||||
|
autoheader
|
||||||
|
echo > stamp-h.in
|
||||||
14
Util/preconfig
Executable file
14
Util/preconfig
Executable file
@@ -0,0 +1,14 @@
|
|||||||
|
#! /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
|
||||||
Reference in New Issue
Block a user