X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=ldiskfs%2Fautogen.sh;h=feb9f479c1d33fcc06f6463d2180e3c11616c702;hp=d763634d0039f09f7956c0247fbfcbfaaabb11cf;hb=a6db2409b0282b0a0e44d5d4e6eeb154b5c62dff;hpb=eace6f7fc7147fd614bb1cd4c6d435caa07460e3 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"