X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=autogen.sh;h=215f33927ec41585301ceadc4815f58f1d5b419b;hp=3a40a5e208148968a175405525ddb0ba85a6e86a;hb=03e785e6967b2a487b22946c18074fe4438cb5b3;hpb=5fc8551aaba3bc467647d8ea549fafee039b48f9 diff --git a/autogen.sh b/autogen.sh index 3a40a5e..215f339 100644 --- a/autogen.sh +++ b/autogen.sh @@ -2,59 +2,17 @@ # NOTE: Please avoid bashisms (bash specific syntax) in this script -# install Lustre Git commit hooks by default - LU-2083 -for HOOK in commit-msg prepare-commit-msg; do - [ -e .git/hooks/$HOOK ] || ln -sf ../../build/$HOOK .git/hooks/ -done - -echo "Checking for a complete tree..." -REQUIRED_DIRS="build libcfs lnet lustre" -OPTIONAL_DIRS="snmp portals" -CONFIGURE_DIRS="libsysio lustre-iokit ldiskfs" +set -e -for dir in $REQUIRED_DIRS ; do - if [ ! -d "$dir" ] ; then - cat >&2 <