From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id IC/SCzOK318qcAAA0tVLHw (envelope-from ) for ; Sun, 20 Dec 2020 17:30:27 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id yBeWBzOK31/VZgAA1q6Kng (envelope-from ) for ; Sun, 20 Dec 2020 17:30:27 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D87B194065D for ; Sun, 20 Dec 2020 17:30:26 +0000 (UTC) Received: from localhost ([::1]:49986 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kr2XJ-0004m4-Qx for larch@yhetil.org; Sun, 20 Dec 2020 12:30:25 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56852) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kr2Wx-0004Zj-Bs for guix-patches@gnu.org; Sun, 20 Dec 2020 12:30:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:33958) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kr2Ww-0000Aq-6O for guix-patches@gnu.org; Sun, 20 Dec 2020 12:30:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kr2Ww-0001uD-1U for guix-patches@gnu.org; Sun, 20 Dec 2020 12:30:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#40601] [PATCH 2/5] guix-install.sh: Remove $UID bashism. Resent-From: Vincent Legoll Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 20 Dec 2020 17:30:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40601 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 40601@debbugs.gnu.org Received: via spool by 40601-submit@debbugs.gnu.org id=B40601.16084853427182 (code B ref 40601); Sun, 20 Dec 2020 17:30:01 +0000 Received: (at 40601) by debbugs.gnu.org; 20 Dec 2020 17:29:02 +0000 Received: from localhost ([127.0.0.1]:45494 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kr2Vx-0001rj-LN for submit@debbugs.gnu.org; Sun, 20 Dec 2020 12:29:01 -0500 Received: from mail-wr1-f48.google.com ([209.85.221.48]:36929) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kr2Vw-0001rC-CR for 40601@debbugs.gnu.org; Sun, 20 Dec 2020 12:29:00 -0500 Received: by mail-wr1-f48.google.com with SMTP id i9so8394240wrc.4 for <40601@debbugs.gnu.org>; Sun, 20 Dec 2020 09:29:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=L+KBkTp2HvXNPAEyFjt66eMogKo2wb8EXaRz0yVOr8o=; b=ffLRO/M4iFVsrzQKQjNOXLw3RgSExYVeooGbzDQPYBeqfzzWxzETqoFl089GD10u7w +QbXRmptoN4QcNlfCq0H8v2ZZIsZ/NOgQuTn3qe6TIu8ksS5zsIb+ZQkXgoqhysioj44 lW9tX4Q+HChOWg4jI8XmB6MSz6tkH8XPJoYh0HhiRjC3iCKfWhMIbKTfGGXvKT1Ho9UV RV8as+P/tW0/n9vEfVWNVm+wksYUhi5bTdfT9zDBxIrMpZhX0hxiMaPZ139piXDJd7O5 b+7I9Z9g2E/aP2m3ibS8lsj5/DRRC2Ly0QKdug9yP2GwstOkbngK3Dh/W0hBMLzJcxFQ eZZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=L+KBkTp2HvXNPAEyFjt66eMogKo2wb8EXaRz0yVOr8o=; b=ONAqMh3cf2uh7HFd7OaGC6OC4L1SI7N4lFrr9plE4RsQqeJwbilXdmEC1z/+KrkwD3 eNow9NNP++ePX0G6B2NlcsbhaRhFFGnLrfXnKLzJKJjHv1PQAmTVlqZH5Ub66rfn2w/3 lWp2vieIxMjyIZcbUTFN09F2HqgjwQB9HJpog7c8N2p07pyKXLmbMiW084CmqdLFLMeE Eq9tC68qCF9f+wAIWhqpxUn1aS93beoftiJN3C8+mH86UFDpj/Pe3Bw/I0DJxdCPzP6r KxA1i04VoXk1usRD7bkjh9Q+zIqUB5tXqtayjaML58fgGtd0FKjeqbAAWCNRxCAz8qxU Ntkg== X-Gm-Message-State: AOAM533zms8cEZM9VnfK3NUH9K27KLVpcCpwo6soS8MG8SYB8lk+5sE1 sbKUvjL6Kt5DEqEe+w7qUKF40HbGbeI= X-Google-Smtp-Source: ABdhPJwG9O6V5Rdr+ckGthSp0oY0xsSgpUBcDH+VzzgJPZ0n03KArW+IL1m8l3KuSLJQUdlihJMKOA== X-Received: by 2002:adf:d84e:: with SMTP id k14mr14653060wrl.104.1608485334861; Sun, 20 Dec 2020 09:28:54 -0800 (PST) Received: from localhost.localdomain (se167-1-82-242-148-1.fbx.proxad.net. [82.242.148.1]) by smtp.gmail.com with ESMTPSA id h3sm20783535wmm.4.2020.12.20.09.28.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Dec 2020 09:28:54 -0800 (PST) From: Vincent Legoll Date: Sun, 20 Dec 2020 18:28:36 +0100 Message-Id: <20201220172839.3059-2-vincent.legoll@gmail.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201220172839.3059-1-vincent.legoll@gmail.com> References: <20201220172839.3059-1-vincent.legoll@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Vincent Legoll Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 3.78 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=gmail.com header.s=20161025 header.b=ffLRO/M4; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: D87B194065D X-Spam-Score: 3.78 X-Migadu-Scanner: scn0.migadu.com X-TUID: b+S5iyK5uYnl * etc/guix-install.sh: Use `id -u' instead of $UID. --- etc/guix-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/guix-install.sh b/etc/guix-install.sh index 26c8622855..0102901010 100755 --- a/etc/guix-install.sh +++ b/etc/guix-install.sh @@ -32,7 +32,7 @@ fi set -e -[ "$UID" -eq 0 ] || { echo "This script must be run as root."; exit 1; } +[ "$(id -u)" -eq 0 ] || { echo "This script must be run as root."; exit 1; } REQUIRE=( "dirname" -- 2.29.2