From 8f567279869432b4748dda2fed5c30056c68d44c Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Thu, 14 Aug 2008 18:22:47 +0100 Subject: [PATCH] [perf] Beware $OS may not be set. Avoid a warning by ensuring that the two strings in the equality check are not empty. --- perf/cairo-perf-diff | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perf/cairo-perf-diff b/perf/cairo-perf-diff index 18aa4ddc1..5094ec399 100755 --- a/perf/cairo-perf-diff +++ b/perf/cairo-perf-diff @@ -189,7 +189,7 @@ git_setup # Build cairo-perf-diff-files if not available if [ ! -e $CAIRO_DIR/perf/cairo-perf-diff-files ]; then echo "Building cairo-perf-diff-files" - if [ $OS = "Windows_NT" ]; then + if [ "x$OS" = "xWindows_NT" ]; then make -f Makefile.win32 -C $CAIRO_DIR/perf/ cairo-perf-diff-files CFG=debug else make -C $CAIRO_DIR/perf/ cairo-perf-diff-files