diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2017-04-24 13:00:02 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2017-04-24 13:00:02 -0400 |
commit | 147eb98ab88853f31aabac53e035f7471054ccd9 (patch) | |
tree | 862b94758932e55450098fa5b5a4321a0c8ddb93 | |
parent | eb3af91d96b13173580233a9e0df0ccdcd505dcd (diff) |
setup: don't crash if there are no LC_* variables set
-rwxr-xr-x | .local/bin/setup | 2 |
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 |