mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user