From 491c4c36cb0f94e6805e6def62a7442a9d03b789 Mon Sep 17 00:00:00 2001 From: Phillip Lord Date: Fri, 23 Mar 2018 22:01:08 +0000 Subject: [PATCH] Ensure configure is running if necessary * admin/nt/dist-build/build-zips.sh: Check for missing Makefile. --- admin/nt/dist-build/build-zips.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/admin/nt/dist-build/build-zips.sh b/admin/nt/dist-build/build-zips.sh index 01c237152a9..3d28279885a 100755 --- a/admin/nt/dist-build/build-zips.sh +++ b/admin/nt/dist-build/build-zips.sh @@ -49,8 +49,9 @@ function build_zip { export PKG_CONFIG_PATH=$PKG ## Running configure forces a rebuild of the C core which takes - ## time that is not always needed - if (($CONFIG)) + ## time that is not always needed, so do not do it unless we have + ## to. + if [ ! -f Makefile ] || (($CONFIG)) then echo [build] Configuring Emacs $ARCH ../../../git/$BRANCH/configure \ -- 2.39.2