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 +IhUICoX1F5gUAAA0tVLHw (envelope-from ) for ; Sun, 31 May 2020 20:44:26 +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 cE8fHCoX1F56QwAA1q6Kng (envelope-from ) for ; Sun, 31 May 2020 20:44:26 +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 2E3E8940145 for ; Sun, 31 May 2020 20:44:26 +0000 (UTC) Received: from localhost ([::1]:51536 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jfUoj-00077P-4p for larch@yhetil.org; Sun, 31 May 2020 16:44:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51034) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jfUoP-0006di-41 for guix-patches@gnu.org; Sun, 31 May 2020 16:44:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50637) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jfUoO-0000qd-QD for guix-patches@gnu.org; Sun, 31 May 2020 16:44:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jfUoO-0007KM-Oj for guix-patches@gnu.org; Sun, 31 May 2020 16:44:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#40601] [PATCH 2/7] guix-install.sh: Remove $UID bashism. Resent-From: Vincent Legoll Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 31 May 2020 20:44:04 +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 Cc: Vincent Legoll Received: via spool by 40601-submit@debbugs.gnu.org id=B40601.159095783828104 (code B ref 40601); Sun, 31 May 2020 20:44:04 +0000 Received: (at 40601) by debbugs.gnu.org; 31 May 2020 20:43:58 +0000 Received: from localhost ([127.0.0.1]:33944 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jfUoH-0007J9-OB for submit@debbugs.gnu.org; Sun, 31 May 2020 16:43:57 -0400 Received: from mail-wr1-f53.google.com ([209.85.221.53]:45271) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jfUnp-0007HK-HR for 40601@debbugs.gnu.org; Sun, 31 May 2020 16:43:43 -0400 Received: by mail-wr1-f53.google.com with SMTP id c3so9400756wru.12 for <40601@debbugs.gnu.org>; Sun, 31 May 2020 13:43:29 -0700 (PDT) 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=Cit8EcF1+Ohubp5rixRkhSB2/owXcE6ymR0td3o8k78=; b=Neu7GjzQ+jFC61zBuN2f5tOAi23gx1dpmKlBqI9hBSeht8LEFzFlGjAqmEo9xlU8IP qE0T9662kXUzplNqglX/dFI/bbTXGj9OHEFhF6PNP0lpeTX/BOc0rIE0BfMa9CeJ+Osr Edj23Vr4xTa4CfyYqnyIlMkkIc9Y7LFE901NHGCsTFoT41tYV8jdLSz8xfxTH58IN/sr RcD4ZAowgTYSwOIkD3Wt5xU6K6E/tqhU2u0jVo1KZ9BQmwAsyzxDxL0VAfDdvazyfQIG zDGeoekh6G8F01M8d8ZSEsa8vBEU4tcoIrf1eYBBSO35wW1DgM7UdF3cL0HOVczluBbe zosg== 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=Cit8EcF1+Ohubp5rixRkhSB2/owXcE6ymR0td3o8k78=; b=i7ogUZKXStpFe8M1P46xNaVNmWrENQOB8ER075HYcurtR9sdx/2Hl6VigxpFM3YZ1k 8oYOq7PjJbuKpIpb6Fh8TtG5x6RqECDWyUwJYVPze0qHV/wFOfpkwQzasFFseKkaLEA8 RVHbLhHC4hUiZKS3fyHjw6hIuAoXFUht5FFPDSYdW2k2+vOZOx2QpJD2VaBPw4xq3Es5 aL0ExTSjowT0oE8uN7kk908TEUi6vJp1as4TYSwrAQYViDKeCEf/cYDnO6sFuq61gq3n SBAq+aip8JI1dZMMnLOWPMU4wha8vv4vGm+Bu/eXAHt1YEIRSs3kXzC9BGGjdl8xdlKJ DADA== X-Gm-Message-State: AOAM5322CU+mWezND6Mh6pArIRzV8DUHFfAgcrJRiQQYRCAntF/DKtHu 0ABdBawFNA2bI+XulPhiScCVv6fT X-Google-Smtp-Source: ABdhPJySkrkjJraROlN8rsxhbPYrJ+dYBKtrmdNBMlN9CX0hquhS//xiWMFa2BHo18IOusaOyclnyA== X-Received: by 2002:a05:6000:1083:: with SMTP id y3mr18075202wrw.425.1590957803805; Sun, 31 May 2020 13:43:23 -0700 (PDT) Received: from localhost.localdomain (se167-1-82-242-148-1.fbx.proxad.net. [82.242.148.1]) by smtp.gmail.com with ESMTPSA id w10sm18728850wrp.16.2020.05.31.13.43.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 31 May 2020 13:43:23 -0700 (PDT) From: Vincent Legoll Date: Sun, 31 May 2020 22:42:52 +0200 Message-Id: <20200531204257.18725-2-vincent.legoll@gmail.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200531204257.18725-1-vincent.legoll@gmail.com> References: <20200531204257.18725-1-vincent.legoll@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=Neu7GjzQ; 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-Spam-Score: 5.09 X-TUID: jD7KjlbxRUN0 * 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 455e021684..0d7a8c8d44 100755 --- a/etc/guix-install.sh +++ b/etc/guix-install.sh @@ -29,7 +29,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.26.2