On 06/04/2015 01:35 PM, Andreas Schwab wrote: > Paul Eggert <[email protected]> writes: > >> --- a/Makefile.am >> +++ b/Makefile.am >> @@ -195,7 +195,8 @@ check-git-hook-script-sync: >> # the selected tools when installing. >> install-exec-hook: >> $(AM_V_at)ctrans=$$(printf coreutils | sed -e "$(transform)"); \ >> - for p in $(single_binary_progs); do \ >> + for p in x $(single_binary_progs); do \ >> + test $$p = x && continue; \ > > A better way to solve that is to use a shell variable: > > progs='$(single_binary_progs)'; \ > for p in $$progs; do
You can also use something that expands into a no-op shell word: for p in `` $(single_binary_progs); do -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
