From cd184596a2d494c6ed275b7498e5db83af2ba6e3 Mon Sep 17 00:00:00 2001 From: Adam Date: Sun, 26 Jan 2014 01:17:54 -0500 Subject: Only have extras rerun config if it was successfully run before. Config can create the build directory even if cmake isn't found. --- extras | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extras') diff --git a/extras b/extras index 3b095e045..6344ae20f 100755 --- a/extras +++ b/extras @@ -147,7 +147,7 @@ while (1) chop($input); # remove the trailing \n from the user input if ($input eq "q") { - if (-e "build") { + if (-e "build/CMakeFiles") { if (-e "cmake-bin") { my $cmake_path = `find cmake-bin -name cmake -print0`; system($cmake_path, "build/."); -- cgit