From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id ECD351584F2 for ; Mon, 17 Mar 2025 09:53:12 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id DBC7D3432D9 for ; Mon, 17 Mar 2025 09:53:12 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id CAF61110475; Mon, 17 Mar 2025 09:52:03 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id C35F3110475 for ; Mon, 17 Mar 2025 09:52:03 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 502BB343277 for ; Mon, 17 Mar 2025 09:52:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7FCC61D72 for ; Mon, 17 Mar 2025 09:52:01 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1742067996.b9b90a4f6c93c746336ef8c2e802bc3825c550fb.ulm@gentoo> Subject: [gentoo-commits] proj/emacs-tools:emacs-common commit in: / X-VCS-Repository: proj/emacs-tools X-VCS-Files: ChangeLog emacs-wrapper.sh X-VCS-Directories: / X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: b9b90a4f6c93c746336ef8c2e802bc3825c550fb X-VCS-Branch: emacs-common Date: Mon, 17 Mar 2025 09:52:01 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: aebbab0b-d601-42b3-9c1f-6a28c4e9a311 X-Archives-Hash: b2a417855c9eaa64ae00ab4ea4c30d90 commit: b9b90a4f6c93c746336ef8c2e802bc3825c550fb Author: Ulrich Müller gentoo org> AuthorDate: Sat Mar 15 19:46:36 2025 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Sat Mar 15 19:46:36 2025 +0000 URL: https://gitweb.gentoo.org/proj/emacs-tools.git/commit/?id=b9b90a4f Default to bash as the login shell * emacs-wrapper.sh: Default to bash when SHELL is unset. Signed-off-by: Ulrich Müller gentoo.org> ChangeLog | 4 ++++ emacs-wrapper.sh | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 7c5f6b4..01e11ec 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2025-03-15 Ulrich Müller + + * emacs-wrapper.sh: Default to bash when SHELL is unset. + 2025-03-09 Ulrich Müller * Version 1.11 released. diff --git a/emacs-wrapper.sh b/emacs-wrapper.sh index 22c8cd9..fc19b27 100644 --- a/emacs-wrapper.sh +++ b/emacs-wrapper.sh @@ -1,3 +1,3 @@ #!/bin/bash # Start Emacs with a login shell wrapper to read the user's profile -exec -l "${SHELL}" -c "exec \"${EMACS}\" $*" +exec -l "${SHELL:-/bin/bash}" -c "exec \"${EMACS}\" $*"