From e5c8033c9606775f66c077377825a6a3beafb98e Mon Sep 17 00:00:00 2001 From: Stefan Saraev Date: Sun, 10 Aug 2014 21:27:45 +0300 Subject: [PATCH] scripts/autoreconf: cosmetics --- scripts/autoreconf | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/scripts/autoreconf b/scripts/autoreconf index d2da9f8a82..0a8f95aa76 100755 --- a/scripts/autoreconf +++ b/scripts/autoreconf @@ -22,12 +22,13 @@ [ ! -f "$PKG_BUILD/configure.in" -a ! -f "$PKG_BUILD/configure.ac" ] && echo "configure.in or configure.ac not found" && exit 1 -export BUILD_INDENT=$((${BUILD_INDENT:-1}+$BUILD_INDENT_SIZE)) - -touch $PKG_BUILD/NEWS $PKG_BUILD/AUTHORS $PKG_BUILD/ChangeLog -mkdir -p $PKG_BUILD/m4 if [ ! -f $PKG_BUILD/.autoreconf-done ] ; then + touch $PKG_BUILD/NEWS $PKG_BUILD/AUTHORS $PKG_BUILD/ChangeLog + mkdir -p $PKG_BUILD/m4 + printf "%${BUILD_INDENT}c ${boldmagenta}AUTORECONF${endcolor} $1\n" ' '>&$SILENT_OUT + export BUILD_INDENT=$((${BUILD_INDENT:-1}+$BUILD_INDENT_SIZE)) + do_autoreconf $PKG_BUILD touch $PKG_BUILD/.autoreconf-done fi