From 147eb98ab88853f31aabac53e035f7471054ccd9 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 24 Apr 2017 13:00:02 -0400 Subject: setup: don't crash if there are no LC_* variables set --- .local/bin/setup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.local/bin/setup') diff --git a/.local/bin/setup b/.local/bin/setup index e26c590..ee8d0d7 100755 --- a/.local/bin/setup +++ b/.local/bin/setup @@ -6,7 +6,7 @@ undefine XDG_CONFIG_DIR LANG = C export LANG -undefine $(filter LC_%,$(.VARIABLES)) +$(foreach v,$(filter LC_%,$(.VARIABLES)),$(eval undefine $v)) CFLAGS += -std=c99 -Wall -Wextra -Werror -Wno-unused-parameter -- cgit v1.2.3-54-g00ecf