X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=autogen.sh;h=3f5031ced5bbce451b8ddb11f6bc8f8ca847aa0c;hp=5bd10be1f482c9944a6e76db5a4cd1162d997603;hb=530763d717189fd57c48b352ba4d13a751a2ba64;hpb=25c93758d6b1136d268fe3fcc1c4979c17463c0b diff --git a/autogen.sh b/autogen.sh index 5bd10be..3f5031c 100644 --- a/autogen.sh +++ b/autogen.sh @@ -2,59 +2,14 @@ # 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="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 <