From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id Sfd5Ks2Ljl+jFAAA0tVLHw (envelope-from ) for ; Tue, 20 Oct 2020 07:03:41 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 8PH8Jc2Ljl+xBQAAB5/wlQ (envelope-from ) for ; Tue, 20 Oct 2020 07:03:41 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [IPv6:2607:5300:201:3100::1657]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (2048 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 9A90A9400C9 for ; Tue, 20 Oct 2020 07:03:40 +0000 (UTC) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 3198A1FFF4; Tue, 20 Oct 2020 02:57:30 -0400 (EDT) X-Greylist: delayed 43729 seconds by postgrey-1.36 at nmbug; Tue, 20 Oct 2020 02:57:27 EDT Received: from lahtoruutu.iki.fi (unknown [IPv6:2a0b:5c81:1c1::37]) by mail.notmuchmail.org (Postfix) with ESMTPS id DC16E1FFC1 for ; Tue, 20 Oct 2020 02:57:27 -0400 (EDT) Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: too) by lahtoruutu.iki.fi (Postfix) with ESMTPSA id 56E291B00366; Tue, 20 Oct 2020 09:57:15 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1603177035; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc; bh=ytFWuOYSqG+q9AscDBaWZQBVZMpDUhh1cptPUtm2dfM=; b=io9JgeAdrloayIuBDzlnU0iLFfcWFoAuB9RR/8Sxblhswa+1RZJHLa6J2exYH6lC7EWLsP FF57bKhCakPJa/TT/RlHhXOxuUgg3jVbJ9m9taTALCCBZB27ba1uov/KD34g8MYQJ5asAH mfFDY0KaIBpNRV3gkKrHSZKM+s/rJ0/qbc2UERfNuemY2TmwXYePQ2BoF8II9V+uYRDVui 1HZ//6s1/JN9WkBgeOPmcbqqQQbPg2x7FbvNzCr8mykES2N+CfYqPDNfMBLmJoLM01fz1o t6bkuqENXpT0sxXoD3vVrRT74nxfWcQKqkIzDoGl6jKnkEEisW/dcgt9e2XdAw== From: Tomi Ollila To: notmuch@notmuchmail.org Subject: [PATCH] configure: replace $(realpath emacs) with $(cd emacs && pwd -P) Date: Tue, 20 Oct 2020 09:57:11 +0300 Message-Id: <20201020065711.9688-1-tomi.ollila@iki.fi> X-Mailer: git-send-email 2.13.3 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1603177035; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc; bh=ytFWuOYSqG+q9AscDBaWZQBVZMpDUhh1cptPUtm2dfM=; b=XexsAjkPaCvxiaUY0XIWQW6yBsUkpfbiNs3hpkgIa5A7FHUj0jorPKRPGyzqjaQOCxeI/D TyedppZwr166xNdE3/b45bFsDca3txvhmxOIMp12WatTm+TD7ETf1j5nbMPRIg2z3+nAUO Ns0SLGXqPXhjEZNmIkoGtAAQXQj2bg9nktjDLWUN2olqRhFWP5eNuUBbBpDXVadbAXVVUV kz4NsteX57GqmPAIs9vemP9m00SU2fAmj57DGpSs76tMQ7FxOsLF7a3UKGoQ9bxXIrBhnT qrKaVRWsHKgTFOdcA+wa14NHnmSSOxudnEN2PXyzNL/7Ptcs+b1+f0pQ35yPeQ== ARC-Seal: i=1; s=lahtoruutu; d=iki.fi; t=1603177035; a=rsa-sha256; cv=none; b=DcP+ubv+KuZjc1keRzsxA4xL9vI0Ai6iWcJMqGfQ3DEt54p4p6N3kiop2wd2XUXQw2wgMo zlZu7NB3Bp9W2o7o3GnoydA/XH2y21J0R4M9Pjk4IZxPNpWRyVFA5yuXuxbS8xc/qg9SbN Si5QQeopJsEgm0+dGGufZkxn9p31usDLrR95IVMA+rvEFs8JRz9Vqsjr4P3Yi0nOD0JNMQ NyxcJRp46vHsmDEmb3kbJQUngMw7ZmNnjy4xkIu3l8g4YRczbnPGLxYgUsYc4a25YZfidW zVXyEBiy+zKjKAccIgctUSZj9m/cGINjdTojABV4iVwSXsrGMdppwsd971gbeA== ARC-Authentication-Results: i=1; ORIGINATING; auth=pass smtp.auth=too smtp.mailfrom=tomi.ollila@iki.fi Message-ID-Hash: 4CEP44I2LHSNWJIQNJEV7BAHZYQBAWLV X-Message-ID-Hash: 4CEP44I2LHSNWJIQNJEV7BAHZYQBAWLV X-MailFrom: tomi.ollila@iki.fi X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header CC: tomi.ollila@iki.fi X-Mailman-Version: 3.2.1 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Post: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (body hash did not verify) header.d=iki.fi header.s=lahtoruutu header.b=io9JgeAd; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2607:5300:201:3100::1657 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Spam-Score: 5.53 X-TUID: HunpC8JxE1ev For portability; the realpath command (e.g. from GNU coreutils) is not so common outside Linux systems. The "$(cd emacs && pwd -P)" replaces that realpath(1) execution suitably in this context (using just bash(1) builtins). --- Quotes ("") added for it to be better example for someone(tm) who may look it while writing some other shell script elsewhere; here, as $IFS characters are not (currently!) allowed in $PWD those makes no difference... configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 40e8b255..cfa9c09b 100755 --- a/configure +++ b/configure @@ -1536,7 +1536,7 @@ EOF if [ $WITH_PYTHON_DOCS = "1" ]; then echo "tags.add('WITH_PYTHON')" fi - printf "rsti_dir = '%s'\n" $(realpath emacs) + printf "rsti_dir = '%s'\n" "$(cd emacs && pwd -P)" } > sphinx.config # Finally, after everything configured, inform the user how to continue. -- 2.25.1