From: Richard W.M. Jones Date: Tue, 7 Jul 2009 19:28:29 +0000 (+0100) Subject: Fix checking of generator being run from the right directory. X-Git-Tag: 1.0.57~19 X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=commitdiff_plain;h=35c646965a21d452cf74ef3683612210a653c36d;hp=9e67beed7a5053a391e25150ddf4e990f2769cb9 Fix checking of generator being run from the right directory. Originally it was looking for 'config.status', but this file might not exist until configure has been run. Make it look for HACKING instead. --- diff --git a/src/generator.ml b/src/generator.ml index 1a4e507..66c272f 100755 --- a/src/generator.ml +++ b/src/generator.ml @@ -8096,7 +8096,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