From 6c6f502835c8410e1c26abbcf369551b224bc6b7 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Thu, 23 Oct 2014 16:23:37 -0600 Subject: [PATCH] Older shells don't support unset. --- plugins/sudoers/Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/sudoers/Makefile.in b/plugins/sudoers/Makefile.in index 8d6ba530b..1b2ace888 100644 --- a/plugins/sudoers/Makefile.in +++ b/plugins/sudoers/Makefile.in @@ -345,7 +345,7 @@ cppcheck: check: $(TEST_PROGS) visudo testsudoers @if test X"$(cross_compiling)" != X"yes"; then \ LC_ALL=C; export LC_ALL; \ - unset LANG; \ + unset LANG || LANG=; \ rval=0; \ mkdir -p regress/parser; \ ./check_addr $(srcdir)/regress/parser/check_addr.in || rval=`expr $$rval + $$?`; \ -- 2.49.0