tests: avoid a spurious failure with the Korn Shell
authorStefano Lattarini <stefano.lattarini@gmail.com>
Mon, 22 Apr 2013 21:37:11 +0000 (23:37 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Mon, 22 Apr 2013 21:37:11 +0000 (23:37 +0200)
* t/list-flags.sh: Ensure the EMACS variable is set before unsetting it.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
t/lisp-flags.sh

index a31bcfd..1ea5b8e 100755 (executable)
@@ -20,7 +20,7 @@
 
 # Don't get fooled when running as an Emacs subprocess.  This is
 # for the benefit of the "make -e" invocation below.
-unset EMACS
+EMACS=; unset EMACS
 
 cat > Makefile.am << 'EOF'
 lisp_LISP = foo.el