aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules/ips.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/ips.mk b/rules/ips.mk
index dabc26d..5503147 100644
--- a/rules/ips.mk
+++ b/rules/ips.mk
@@ -35,7 +35,7 @@ ips-version = $(version)
endif
# Substitutions in IPS manifest:
-makefile-vars := $(shell sed -n 's/^ *\([-_0-9a-zA-Z]*\) *[:?]*=.*$$/\1/p' Makefile | sort -u)
+makefile-vars := $(shell sed -n 's/^ *\([a-zA-Z][-_0-9a-zA-Z]*\) *[:?]*=.*$$/\1/p' Makefile | sort -u)
pkg-define = $(foreach _,$(makefile-vars),-D$(_)="$($(_))")
pkg-define += -Dips-version="$(ips-version)"