Permalink
Browse files

Only have extras rerun config if it was successfully run before. Conf…

…ig can create the build directory even if cmake isn't found.
  • Loading branch information...
1 parent f28b114 commit cd184596a2d494c6ed275b7498e5db83af2ba6e3 @Adam- Adam- committed Jan 26, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 extras
View
2 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/.");

0 comments on commit cd18459

Please sign in to comment.