[perf] Beware $OS may not be set.

Avoid a warning by ensuring that the two strings in the equality check are
not empty.
This commit is contained in:
Chris Wilson 2008-08-14 18:22:47 +01:00
parent c44f2ab4d1
commit 8f56727986

View file

@ -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