summaryrefslogtreecommitdiff
path: root/extras
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2014-01-26 01:17:54 -0500
committerAdam <Adam@anope.org>2014-01-26 01:17:58 -0500
commitcd184596a2d494c6ed275b7498e5db83af2ba6e3 (patch)
treef31fb1ddaacc1a843a130d61b94a07ec7d57d4c7 /extras
parentf28b1142f5d476fc70a0155b800b1cdf35a7d95b (diff)
Only have extras rerun config if it was successfully run before. Config can create the build directory even if cmake isn't found.
Diffstat (limited to 'extras')
-rwxr-xr-xextras2
1 files changed, 1 insertions, 1 deletions
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/.");