minimal/do: fix a typo: DO_BUILD -> DO_BUILT

...and remove the "disable-if-minimal-do" from the test that would have
caught this bug.

Reported by Ulrik Sverdrup.
This commit is contained in:
Avery Pennarun 2011-03-06 21:38:34 -08:00
commit 989eb6804b
2 changed files with 1 additions and 2 deletions

View file

@ -111,7 +111,7 @@ _do()
echo "do: $target: no .do file" >&2 echo "do: $target: no .do file" >&2
return 1 return 1
fi fi
[ ! -e "$DO_BUILD" ] || : >>"$target.did" [ ! -e "$DO_BUILT" ] || : >>"$target.did"
( _run_dofile "$base" "$ext" "$target.tmp" ) ( _run_dofile "$base" "$ext" "$target.tmp" )
rv=$? rv=$?
if [ $rv != 0 ]; then if [ $rv != 0 ]; then

View file

@ -1,4 +1,3 @@
. ./skip-if-minimal-do.sh
rm -f makedir.log rm -f makedir.log
redo makedir redo makedir
touch makedir/outfile touch makedir/outfile