From 5c20aa7486f9cb8871f40bca9ac5fee09caefca3 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sun, 8 Feb 2015 16:00:17 -0800 Subject: Port to platforms lacking test -a and -o * configure.ac (HAVE_LIBXML2): * lisp/Makefile.in (compile-clean): * lisp/net/tramp-sh.el (tramp-find-executable): Prefer '&&' and '||' to 'test -a' and 'test -o'. --- lisp/Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lisp/Makefile.in') diff --git a/lisp/Makefile.in b/lisp/Makefile.in index 7bf53861e71..e5cfc6326e1 100644 --- a/lisp/Makefile.in +++ b/lisp/Makefile.in @@ -324,7 +324,7 @@ compile-clean: @cd $(lisp) && $(setwins); \ elcs=`echo "$$wins " | sed -e 's|/\./|/|g' -e 's|/\. | |g' -e 's| |/*.elc |g'`; \ for el in `echo $$elcs | sed -e 's/\.elc/\.el/g'`; do \ - if test -f "$$el" -o \! -f "$${el}c"; then :; else \ + if test -f "$$el" || test ! -f "$${el}c"; then :; else \ echo rm "$${el}c"; \ rm "$${el}c"; \ fi \ -- cgit v1.2.1