summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-04-24 13:00:02 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2017-04-24 13:00:02 -0400
commit147eb98ab88853f31aabac53e035f7471054ccd9 (patch)
tree862b94758932e55450098fa5b5a4321a0c8ddb93
parenteb3af91d96b13173580233a9e0df0ccdcd505dcd (diff)
setup: don't crash if there are no LC_* variables set
-rwxr-xr-x.local/bin/setup2
1 files changed, 1 insertions, 1 deletions
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