From e098ac5684fe48a1e1d4760cacb715b9a37aac26 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer <maxim.cournoyer@savoirfairelinux.com> Date: Fri, 12 Mar 2021 16:26:28 -0500 Subject: [PATCH] build.py: Do not rebuild the daemon every time. Running autogen.sh invalidates the build artifacts, causing them to be rebuilt every time the 'install' action is invoked, which is wasteful. Only invoke autogen.sh when the configure script is missing. Change-Id: Ib92b3d14e9f44f465f467ee0948fe3fceb5d3bea --- scripts/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install.sh b/scripts/install.sh index 0a6bc466..1dd0db6e 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -94,7 +94,7 @@ mkdir -p contrib/native ) # Build the daemon itself. -./autogen.sh +test -f configure || ./autogen.sh if [[ "$OSTYPE" != "darwin"* ]]; then # Keep the shared libaries on MAC OSX. -- GitLab