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 +KqVMAD9jl93EQAA0tVLHw (envelope-from ) for ; Tue, 20 Oct 2020 15:06:40 +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 UF9WLAD9jl9EXAAAB5/wlQ (envelope-from ) for ; Tue, 20 Oct 2020 15:06:40 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [144.217.243.247]) (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 73D4D9400C9 for ; Tue, 20 Oct 2020 15:06:39 +0000 (UTC) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id B13752000F; Tue, 20 Oct 2020 11:06:32 -0400 (EDT) Received: from lahtoruutu.iki.fi (unknown [IPv6:2a0b:5c81:1c1::37]) by mail.notmuchmail.org (Postfix) with ESMTPS id 846341FFF4 for ; Tue, 20 Oct 2020 11:06:29 -0400 (EDT) Received: from guru.guru-group.fi (unknown [IPv6:2a02:2380:1:9:5054:ff:feb7:a4bc]) (using TLSv1.2 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: too) by lahtoruutu.iki.fi (Postfix) with ESMTPSA id CC69F1B0039A; Tue, 20 Oct 2020 18:06:16 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1603206376; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=BNu0xuKFWwjP6hpIWs31h/taxJ2XpPzw6Kp9muNWkQk=; b=p6qH9Rq+abvgf7a3+nqIXrHFMrkaAPeMVBTArYLa2XgiJMXLjZthkATUMTpG2qJsikkTr/ oxdOs7qXmzhX0vDuQPc2uKfLJEMPfENYzRyo5RMhm1G2brXhocnQRo+/dZmAx3LK5qmmit 5CZx5Nc5ZFJFhHKOHLSnqIUr0k/dcEFDI27yC8xHLM0ZT6W2qmOWAopeMqFnRKR7zQD4Ag Eg892Gavbn1W/Sds7C49zI6AuOoYXYyiAZpKeQeJ8Q/ZwNNb0NqaSsQLnroNPFzf9Tp3hT h5pjYDMZ/Rfcse+JJoVV3K4jfN/IpOjmAmCR/0rbvdiKOQ21vJYdAA/5oOqegA== From: Tomi Ollila To: Ralph Seichter , notmuch@notmuchmail.org Subject: Re: Dependencies should include "realpath" In-Reply-To: <874kmpaqxd.fsf@wedjat.horus-it.com> References: <87d01hewdd.fsf@wedjat.horus-it.com> <87sgadwvpt.fsf@tethera.net> <87o8l1r6u0.fsf@wedjat.horus-it.com> <874kmpaqxd.fsf@wedjat.horus-it.com> User-Agent: Notmuch/0.31+4~gea158b8 (https://notmuchmail.org) Emacs/27.1 X-Face: HhBM'cA~ MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1603206376; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=BNu0xuKFWwjP6hpIWs31h/taxJ2XpPzw6Kp9muNWkQk=; b=T0XkWcK67Wrzdyfhz7/6hefsKjFcW8+fgr/ugr4NqFUfuoTaTnHJdNVokVWrpHltdYdao3 fwyCBXLm900tVZVzCEw84hp5xONqoYgQ6K9B1ja0no2epZpahQCwG5v+H9lmFm5Mdsriia DUZujRYuy1HrknCE5T0d+JR6+qv+QTz/yI9nCtf/MdCBHBM6bT+yLDuGrv/KAQ2L2qKgdm U1e5hToQfVyDvES8G8xRq9xDaYt5umGoS1iOUApE2ZOqVlAL1fu4AlSP3xHMG/dhR8AFjt VaHYxTN36X69Hqgyzkgu7eJpqWwX8Yr7NHLndbjEkxiCT5goQZnkuXBoraTbDg== ARC-Seal: i=1; s=lahtoruutu; d=iki.fi; t=1603206376; a=rsa-sha256; cv=none; b=uKe4b50GQrLTGc+uMW2WCrMI4SqlIS3rJekwzE8azaywwgsabDGqJP85mOacPAULArEpBd KH1K4qai8PYGU9W7wNtgDtkOHgxkzFVT4JQaXG2+SFVXygRAbEkHyniqVjzvTnR+Lqpquw Ufy1t5Gkq5IoT6edQZlehRhXwP043xyBMtFw9nJKCalloI3bbbczRnZMAr8xqRiznnJSrm 4wX2EiED+10L3q50L8KKvZMDoPY/XtDeNVk4b0ErlDdMlDhSqNqt4rqCPiO06kR6n9JN0C EFJqtm2+132UchJU9ivBlNJfns4qPE7S2aRBhKFezUW95u8wtSTF19TzOVS9Ug== ARC-Authentication-Results: i=1; ORIGINATING; auth=pass smtp.auth=too smtp.mailfrom=tomi.ollila@iki.fi Message-ID-Hash: C23VVHQHLR25X3M4SDLPHVZDWJEQOP7V X-Message-ID-Hash: C23VVHQHLR25X3M4SDLPHVZDWJEQOP7V 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 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: 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=p6qH9Rq+; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 144.217.243.247 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Spam-Score: 3.53 X-TUID: TXKzqXIQbqZU On Tue, Oct 20 2020, Ralph Seichter wrote: > * Tomi Ollila: > >>> rsti_dir = os.path.abspath('emacs') >> >> Good suggestion, anyway, the simplest change would be just: >> >> - printf "rsti_dir = '%s'\n" $(realpath emacs) >> + printf "rsti_dir = '%s'\n" $(cd emacs && pwd -P) > > Looks like "pwd -P" is part of the Open Group base spec for pwd, so it > should be available on supported platforms. oh, you're right, I remembered configure was bash(1) script, but, it has #!/bin/sh -- (although "traditional" bourne shell would not do it) Thanks for checking! (dropped our conversation about use of os.path... :D) > > -Ralph Tomi