- if $$TAR --version 2>&1 | grep 'GNU' >/dev/null; then \
- echo "TAR_WILDCARDS:=--wildcards" >> $@; \
+ echo "BASH:=$(shell which bash)" >> $@; \
+ if find -L /tmp -maxdepth 0 >/dev/null 2>/dev/null; then \
+ echo 'FIND_L=find -L $$(1)' >>$@; \
+ else \
+ echo 'FIND_L=find $$(1) -follow' >> $@; \