From 3f630e56a6a8663dc9709d08138748d48dec9ce8 Mon Sep 17 00:00:00 2001 From: Harry Moffat Date: Sat, 26 Sep 2009 02:13:34 +0000 Subject: [PATCH] Eliminated a possible error that could wipe out the directory when make clean is invoked, if the build directory doesn't exist. --- Cantera/python/Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cantera/python/Makefile.in b/Cantera/python/Makefile.in index cad4377a5..bec87b2dc 100755 --- a/Cantera/python/Makefile.in +++ b/Cantera/python/Makefile.in @@ -91,7 +91,7 @@ endif clean: @PYTHON_CMD@ setup.py clean rm -f _build; rm -f _winbuild - (cd build; rm -fR *) + (if test -d build ; then cd build; rm -fR * ; fi) cd src; rm -f *.o depends: