X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=ldiskfs%2Fautogen.sh;h=feb9f479c1d33fcc06f6463d2180e3c11616c702;hb=003cdd93e01155f33978c34d21886e855bc3c826;hp=d763634d0039f09f7956c0247fbfcbfaaabb11cf;hpb=eace6f7fc7147fd614bb1cd4c6d435caa07460e3;p=fs%2Flustre-release.git diff --git a/ldiskfs/autogen.sh b/ldiskfs/autogen.sh index d763634..feb9f47 100644 --- a/ldiskfs/autogen.sh +++ b/ldiskfs/autogen.sh @@ -1,2 +1,18 @@ -#!/bin/bash -exec bash build/autogen.sh $@ +#!/bin/sh + +# NOTE: Please avoid bashisms (bash specific syntax) in this script + +# enable execution tracing +set -x + +error() +{ + rc=$? + echo "$1 failed (rc=$rc). Aborting." + exit 1 +} + +aclocal -I $PWD/config || error "aclocal" +autoheader || error "autoheader" +automake -a -c -W no-portability || error "automake" +autoconf || error "autoconf"