Skip to content

Commit

Permalink
Ensure autogen.sh to be executed at the top-level
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
sahid committed May 19, 2014
1 parent 991f7f1 commit 30ae96a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions autogen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 30ae96a

Please sign in to comment.