summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2009-07-07 20:28:29 +0100
committerRichard W.M. Jones <rjones@redhat.com>2009-07-07 20:28:29 +0100
commit35c646965a21d452cf74ef3683612210a653c36d (patch)
treee72d8078adc342f128e15db6367088649af847a2
parent9e67beed7a5053a391e25150ddf4e990f2769cb9 (diff)
downloadlibguestfs-35c646965a21d452cf74ef3683612210a653c36d.tar.gz
libguestfs-35c646965a21d452cf74ef3683612210a653c36d.tar.xz
libguestfs-35c646965a21d452cf74ef3683612210a653c36d.zip
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.
-rwxr-xr-xsrc/generator.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/generator.ml b/src/generator.ml
index 1a4e507b..66c272f1 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