minimal/do: MacOS has /usr/bin/true, not /bin/true.
This commit is contained in:
parent
95680ed7ef
commit
3dd8d081be
2 changed files with 3 additions and 2 deletions
|
|
@ -33,7 +33,7 @@ If you've ever thought about rewriting GNU make from scratch, the idea of
|
|||
doing it in 250 lines of shell script probably didn't occur to you. redo is
|
||||
so simple that it's actually possible. For testing, I actually wrote an
|
||||
even more minimal version,which always rebuilds everything instead of
|
||||
checking dependencies, in 99 lines of shell (less than 2 kbytes).
|
||||
checking dependencies, in 100 lines of shell (less than 2 kbytes).
|
||||
|
||||
The design is simply that good.
|
||||
|
||||
|
|
|
|||
|
|
@ -20,8 +20,9 @@ if [ -z "$DO_BUILT" ]; then
|
|||
for d in redo redo-ifchange; do
|
||||
ln -s "$REDO" "$DO_PATH/$d";
|
||||
done
|
||||
[ -e /bin/true ] && TRUE=/bin/true || TRUE=/usr/bin/true
|
||||
for d in redo-ifcreate redo-stamp redo-always; do
|
||||
ln -s /bin/true "$DO_PATH/$d";
|
||||
ln -s $TRUE "$DO_PATH/$d";
|
||||
done
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue