From 30ae96a7374b52ef8826e55b946f9f506b2751f8 Mon Sep 17 00:00:00 2001 From: Sahid Orentino Ferdjaoui Date: Mon, 19 May 2014 13:55:36 +0200 Subject: [PATCH] Ensure autogen.sh to be executed at the top-level The commit adds a test to ensure that user executes 'autogen.sh' at the top-level of the directory. Signed-off-by: Sahid Orentino Ferdjaoui --- autogen.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/autogen.sh b/autogen.sh index 103caa4577f07..43b5cc439e38d 100755 --- a/autogen.sh +++ b/autogen.sh @@ -2,6 +2,11 @@ set -e +test -f src/ceph.in || { + echo "You must run this script in the top-level ceph directory" + exit 1 +} + check_for_pkg_config() { which pkg-config >/dev/null && return -- 2.39.5