X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre-iokit%2Fautogen.sh;h=b491fcecdd387b99b642a182ca930355094f4634;hb=514aa36b985d020e9c4b2117bfb88ce98ce3779a;hp=fddf52dfe7e0f7421bfe2c091870ee88df1798e3;hpb=0bcfe7071363db98913b26235c60843dd55b549a;p=fs%2Flustre-release.git diff --git a/lustre-iokit/autogen.sh b/lustre-iokit/autogen.sh index fddf52d..b491fce 100644 --- a/lustre-iokit/autogen.sh +++ b/lustre-iokit/autogen.sh @@ -1,21 +1,21 @@ #!/bin/sh fatal() { - local msg=$1 + local msg="$1" echo "FATAL: $msg" exit 1 } run_cmd() { - local cmd=$1 + local cmd="$1" echo "Running $cmd..." $cmd || fatal "$cmd failed!" } -run_cmd aclocal -run_cmd "automake -a -c" +run_cmd ${ACLOCAL:-aclocal} +run_cmd "${AUTOMAKE:-automake} -a -c" run_cmd autoconf echo "Finished. Ready for ./configure ..."