From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf0-f194.google.com ([209.85.192.194]:34275 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1036608AbdEYT1D (ORCPT ); Thu, 25 May 2017 15:27:03 -0400 Received: by mail-pf0-f194.google.com with SMTP id w69so41051385pfk.1 for ; Thu, 25 May 2017 12:27:02 -0700 (PDT) From: Eric Biggers Subject: [PATCH 3/7] get-all: fail if optional repositories have been deconfigured Date: Thu, 25 May 2017 12:25:45 -0700 Message-Id: <20170525192549.138518-4-ebiggers3@gmail.com> In-Reply-To: <20170525192549.138518-1-ebiggers3@gmail.com> References: <20170525192549.138518-1-ebiggers3@gmail.com> Sender: fstests-owner@vger.kernel.org To: Theodore Ts'o Cc: fstests@vger.kernel.org, Eric Biggers List-ID: From: Eric Biggers If an optional repository is enabled and then later disabled, require that the corresponding directory manually be removed; otherwise, it would still be included in the build. Signed-off-by: Eric Biggers --- get-all | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/get-all b/get-all index a0f0d05..fa27229 100755 --- a/get-all +++ b/get-all @@ -81,6 +81,15 @@ setup_repo() fi fi + if [ -z "$repo_url" ] && ! $required; then + cat 1>&2 <