From 583cb7af384d4ee223eb19b3838a3c5bc849b997 Mon Sep 17 00:00:00 2001 From: ph10 Date: Sun, 26 Aug 2012 16:17:55 +0000 Subject: Style tidies to some scripts. git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1016 2f5784b3-3f2a-0410-8824-cb99058d5e15 --- RunTest | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'RunTest') diff --git a/RunTest b/RunTest index 21ff215..b9a0456 100755 --- a/RunTest +++ b/RunTest @@ -155,7 +155,8 @@ done # Set up a suitable "diff" command for comparison. Some systems # have a diff that lacks a -u option. Try to deal with this. -if diff -u /dev/null /dev/null; then cf="diff -u"; else cf="diff"; fi +cf="diff" +diff -u /dev/null /dev/null 2>/dev/null && cf="diff -u" # Find the test data -- cgit v1.2.1