Fix for non-srcdir builds: Run src/generator.ml from the srcdir.
[libguestfs.git] / src / generator.ml
index adcc4ba..a508671 100755 (executable)
@@ -8393,7 +8393,7 @@ let output_to filename =
 let () =
   check_functions ();
 
-  if not (Sys.file_exists "config.status") then (
+  if not (Sys.file_exists "HACKING") then (
     eprintf "\
 You are probably running this from the wrong directory.
 Run it from the top source directory using the command