From 5c543410449d7dc58ed0a4c7cfd7e44172112a54 Mon Sep 17 00:00:00 2001 From: Michael Shigorin Date: Mon, 22 Aug 2011 17:46:49 +0300 Subject: [PATCH] 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 --- features.in/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features.in/Makefile b/features.in/Makefile index b41ba82c..80485d4a 100644 --- a/features.in/Makefile +++ b/features.in/Makefile @@ -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 \