features.in/Makefile: subtle but important typo fix

dst a shell variable in a makefile recipe,
its dereference must be escaped properly;
the net result was false positive for the test
with no harm being done but extra stuff tossed
into the generated profile
This commit is contained in:
Michael Shigorin 2011-08-22 17:46:49 +03:00
parent 9475d199a0
commit 5c54341044

View File

@ -16,7 +16,7 @@ all:
@if test -n "$(GLOBAL_DEBUG)"; then echo "** requested: $(FEATURES)"; fi
@for dir in $(FEATURES); do \
for sub in $(SUBPROFILES); do \
dst="${sub#*/}" && \
dst="$${sub#*/}" && \
if test -d "$$dir/$$dst/"; then \
if rsync -ab "$$dir/$$dst/" "$(BUILDDIR)/$$dst/"; \
then \