From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on atuin.qyliss.net X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE autolearn=unavailable autolearn_force=no version=3.4.6 Received: from atuin.qyliss.net (localhost [IPv6:::1]) by atuin.qyliss.net (Postfix) with ESMTP id 3F73C3EA21; Fri, 18 Nov 2022 10:11:02 +0000 (UTC) Received: by atuin.qyliss.net (Postfix, from userid 496) id 233153E9C8; Fri, 18 Nov 2022 10:10:59 +0000 (UTC) Received: from mail-ed1-x544.google.com (mail-ed1-x544.google.com [IPv6:2a00:1450:4864:20::544]) by atuin.qyliss.net (Postfix) with ESMTPS id A141D3EA12 for ; Fri, 18 Nov 2022 10:10:55 +0000 (UTC) Received: by mail-ed1-x544.google.com with SMTP id z18so6456282edb.9 for ; Fri, 18 Nov 2022 02:10:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=unikie.com; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=RcEJvpj+WRolz9H1jYn9ZekHncti9y3OwlPKUGHnsSs=; b=gkK5UumwBvJYRcGAoKVWQ1nA/7lHaO86iwes22ZJ6pVDqU7X+tkCQyGnNFdLsrT6iD Fa09l2nbKpjoCPaG7G49HSWQ7peik1tf6EgX6ZW/00goeg0Kpl3qE98UrcrIYKaMXuwW 6SL6rSQ2QsqynB2mnmi38yl+3EwEChtq9rrlh1bzbIWxvSYqVIOY2xwPlPkrM8ycFihi zqOL03R7fwqWitwn87cHzsKMbabv8ihB+ag8cl9d+VT6iY9Wl6k0HfSuZkWf2aGAoD6B ByCWb44dYr7VmX2Yh86mnrQjy4wwawSM1B4R3ELzamwSjpvT7JHTVzHGyGJ04TfiktK0 ABFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=RcEJvpj+WRolz9H1jYn9ZekHncti9y3OwlPKUGHnsSs=; b=uy4ZG+9ZLmNAWaHJzYDEdGtpJwBhfhqllxg7AdQegN4z66IvIkShaAsHdY4k+FJS2i sDb+CfcyJveLp7Ev1naWZBO9okSJYyag32Rw5yOBCdVsAd+WwZ7LEl4QvopMRl3M/bg5 Z4K9UfXl+DwUU/nfNW5sy9131CkljhXE2fuYqDmgrhTneBm6GzYb1m3NLpzhg0SqurEp VtXIAC1P8NdcUjlM5UuhqowsvkhBp3bmydNqbZ4/91BozChyydbpoSEeZRx/TOg3wiA4 1XxTHV5LnhDRRRKJf64W+xRNo5suIx1c/WP/f6Ag52Uj+w4xS6LYcLn/qGIYbtlFg0A5 sFRA== X-Gm-Message-State: ANoB5pmB7GV45dGaLkk72rWIW5CcqiQ43pOpMyc38Kv7R041aX8ztuNQ 5y6AMuQ5pMGVxlZhhOBCbD51FsIzYkAb7Roo X-Google-Smtp-Source: AA0mqf4FOXG+ZpoSKZbHhRipALYXCotQedmwUE1iBD2n0VFzi9R4S6BrvJpWmKWPDCTgeyhhm9BIOA== X-Received: by 2002:a05:6402:104b:b0:461:7d1f:1a7b with SMTP id e11-20020a056402104b00b004617d1f1a7bmr5464053edu.400.1668766252793; Fri, 18 Nov 2022 02:10:52 -0800 (PST) Received: from x220.qyliss.net (p200300ed670e7c010000000000000002.dip0.t-ipconnect.de. [2003:ed:670e:7c01::2]) by smtp.gmail.com with ESMTPSA id fe4-20020a056402390400b0046856c307d0sm1619465edb.5.2022.11.18.02.10.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Nov 2022 02:10:52 -0800 (PST) Received: by x220.qyliss.net (Postfix, from userid 1000) id 8D9A92C8; Fri, 18 Nov 2022 10:10:51 +0000 (UTC) From: Alyssa Ross To: devel@spectrum-os.org Subject: [PATCH v2 1/2] Documentation/scripts: fix shellcheck issues Date: Fri, 18 Nov 2022 10:09:46 +0000 Message-Id: <20221118100947.33597-1-alyssa.ross@unikie.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: PYH5NX56JXMAHWVTBYDEKZLZMRCESWKN X-Message-ID-Hash: PYH5NX56JXMAHWVTBYDEKZLZMRCESWKN X-MailFrom: alyssa.ross@unikie.com X-Mailman-Rule-Hits: header-match-devel.spectrum-os.org-0 X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-config-1 CC: Henri Rosten X-Mailman-Version: 3.3.5 Precedence: list List-Id: Patches and low-level development discussion Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: There's an open issue about teaching shellcheck to automatically recognize nix-shell shebangs: https://github.com/koalaman/shellcheck/issues/1210 Signed-off-by: Alyssa Ross --- v2: no changes Documentation/scripts/build.sh | 2 +- Documentation/scripts/update-gems.sh | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/scripts/build.sh b/Documentation/scripts/build.sh index 85bd5a5..e6a2cd8 100755 --- a/Documentation/scripts/build.sh +++ b/Documentation/scripts/build.sh @@ -4,7 +4,7 @@ cd "$(dirname "$0")/.." -if [ ! -w . -a ! -w .jekyll-cache ]; then +if [ ! -w . ] && [ ! -w .jekyll-cache ]; then JEKYLLFLAGS=--disable-disk-cache fi diff --git a/Documentation/scripts/update-gems.sh b/Documentation/scripts/update-gems.sh index 7ba98d8..d70f55f 100755 --- a/Documentation/scripts/update-gems.sh +++ b/Documentation/scripts/update-gems.sh @@ -1,8 +1,11 @@ #! /usr/bin/env nix-shell #! nix-shell -i bash -p bundler bundix + # SPDX-FileCopyrightText: 2022 Unikie # SPDX-License-Identifier: EUPL-1.2+ +# shellcheck shell=bash + set -euo pipefail bundle lock --update -- 2.35.1