From: Sahid Orentino Ferdjaoui Date: Mon, 19 May 2014 11:55:36 +0000 (+0200) Subject: Ensure autogen.sh to be executed at the top-level X-Git-Tag: v0.82~80^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F1822%2Fhead;p=ceph.git 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 --- diff --git a/autogen.sh b/autogen.sh index 103caa4577f0..43b5cc439e38 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