From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id yEHcDwMFQGRJmgAASxT56A (envelope-from ) for ; Wed, 19 Apr 2023 17:13:07 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id eITaDwMFQGTlnwAA9RJhRA (envelope-from ) for ; Wed, 19 Apr 2023 17:13:07 +0200 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 1B43A942A for ; Wed, 19 Apr 2023 17:13:07 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pp9UC-0001XX-Bf; Wed, 19 Apr 2023 11:12:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pp9Ty-0001Wt-Pg for help-guix@gnu.org; Wed, 19 Apr 2023 11:12:36 -0400 Received: from knopi.disroot.org ([178.21.23.139]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pp9Tw-0008Ug-9j for help-guix@gnu.org; Wed, 19 Apr 2023 11:12:30 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 4BFC240230; Wed, 19 Apr 2023 17:12:26 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QbbrYlRD0lBa; Wed, 19 Apr 2023 17:12:25 +0200 (CEST) References: <87cz407482.fsf@posteo.net> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1681917145; bh=wl2MQgVob91JY8Bji1Y/9JeEsnkHjYXhYigRFPIIVX8=; h=References:From:To:Cc:Subject:Date:In-reply-to; b=OJLaRWXL1gw8spFh0npYfYJwFfTZBcojbZ+lqn0xgYwY03aLtJcCGpvCWqdk/a+IJ 8pbRljMXA0Sldx2hxIsf3nBElOrNIlNBiZWDspR+MmHhB+zHFU/LoxbK+vFNRhD3NC wQtHh+Z1qbuwhOE5XTBhm+YIBgs/BrxaszsCSSOrdBgLyJxS13h0SEtHRGQiAE4W+B arZ8z762FbZjLRIZiHt7rNtdHsPtXxw6FQtSAzkAbGvW1sBKz7SCNK6vcKyTlYYavP Um/DjuL/S667m2RRj59zWaPDWhAafG7BtAfTQsVbIQxnfVjUBAux8BRw8sswVDYH/1 5heJ4q1soO0cQ== From: "(" To: Kyle Andrews Cc: help-guix@gnu.org Subject: Re: Alternatives to --emulate-fhs on foreign distros Date: Wed, 19 Apr 2023 16:10:44 +0100 In-reply-to: <87cz407482.fsf@posteo.net> Message-ID: <875y9rzz1n.fsf@disroot.org> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=178.21.23.139; envelope-from=paren@disroot.org; helo=knopi.disroot.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1681917187; a=rsa-sha256; cv=none; b=DGGwdgWE6Smq31XqR2ZfB/9K9QAJhEY9vLCjq7w2Pb0mg9u8quHXJF5ruSUFbbnw3E2u8K Noy2kvkeA8E8eao+iZKP9oJfAaC2cee78U9uflUcG+YvIc3f4rm71gPXhO7B5nFAohxxLP qkFHv95H+tnSQclDz9t03oA5wuDrTxtePiwVBP9hjdIKCe7fB1Ue50gHdzUYF9k9klrQWg aoD3jKlFdAaQVovHcPRWfAqThbrMlaXwPsDOzJK1hJzdPnN+VZ0DM+gQbbNoeLAzaN4jTK wVTq2pX1cSWwfyfcqXJNMtKbdvQMTG80NNx0eh0PQkYlTFq0V4TvUGmFlG0rlA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=disroot.org header.s=mail header.b=OJLaRWXL; dmarc=pass (policy=reject) header.from=disroot.org; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1681917187; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=rCMdB+MEro6r3PehQnQwyGVvcb2jLA28aLGYuIdvl6Y=; b=jjy3uAh4NI50UeeqXoyT7J/jKfq2Zjj/z3Ggkr2ZARS12b608pSDPwdGJsD87NhEaTH4tG vjKEAhgNxrU1fTlSYOW9ofTP0LFfJo1LTj6ARxDKFd4vYx1AKXinQfQcfS4UY01mqXT9LZ 86p7zJVejsqmDS6ulBuSDz/HTJO+0qAU33SaUe0IXEtXvee/xpMGvGEz8b319O+DRl2/iV 1uRO5Hg4YqOTgoV+a5Z3VGXCha6rH29zCFyhB9uxym1dh3eeHMb+CYxmnsa4o4QZt1RY4A wQLm9iq8A3jbDmMzdA/M+5VVQ1O65AEuhj4VzjoVQmq0csE5abzNwczDXjLe3A== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -6.38 X-Spam-Score: -6.38 X-Migadu-Queue-Id: 1B43A942A Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=disroot.org header.s=mail header.b=OJLaRWXL; dmarc=pass (policy=reject) header.from=disroot.org; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-TUID: xoW/4YZIIx1r Kyle Andrews writes: > The (many) shell scripts in my software depend on bashisms. In the code right > now I typically use /usr/bin/env bash since I had read that was the most > portable way of referencing a shell. However, I really don't think I have a good > handle on what my choices are. Maybe the tedious solution of just typing `bash > script.sh' in all of the system calls referencing this scripts might be the > right approach in the long run? ``/usr/bin/env bash'' will automatically be substituted for the path to an available ``/bin/bash'' in the store. (If that's what you're talking about here; not sure what the context is exactly.)