From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SR4EE-0007Ds-5m for garchives@archives.gentoo.org; Sun, 06 May 2012 16:22:34 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 258D4E0833; Sun, 6 May 2012 16:13:23 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 7F78AE09BE for ; Sun, 6 May 2012 16:07:21 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1F4251B405A for ; Sun, 6 May 2012 16:07:21 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id D944BE5402 for ; Sun, 6 May 2012 16:07:19 +0000 (UTC) From: "Sebastian Pipping" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sebastian Pipping" Message-ID: <1231456819.29fe57603e62928b324deabf72799124202ee966.sping@gentoo> Subject: [gentoo-commits] proj/emacs-tools:backups/emacs-updater@1480 commit in: / X-VCS-Repository: proj/emacs-tools X-VCS-Files: ChangeLog emacs-updater X-VCS-Directories: / X-VCS-Committer: sping X-VCS-Committer-Name: Sebastian Pipping X-VCS-Revision: 29fe57603e62928b324deabf72799124202ee966 X-VCS-Branch: backups/emacs-updater@1480 Date: Sun, 6 May 2012 16:07:19 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: b5e5e8a3-fbea-46ff-963a-220f5ac90c5e X-Archives-Hash: 1b332c2db5545757051c11e88fc585b7 commit: 29fe57603e62928b324deabf72799124202ee966 Author: Ulrich M=C3=BCller gentoo org> AuthorDate: Thu Jan 8 23:20:19 2009 +0000 Commit: Sebastian Pipping gentoo org> CommitDate: Thu Jan 8 23:20:19 2009 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/emacs-tools.g= it;a=3Dcommit;h=3D29fe5760 New variable for path of Emacs executable. svn path=3D/emacs-updater/; revision=3D1219 --- ChangeLog | 7 ++++++- emacs-updater | 6 +++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1a6ca24..94775d3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-01-09 Ulrich Mueller + + * emacs-updater (EMACS): New variable, path of Emacs executable. + (emacs-version): Use it. + 2008-12-30 Ulrich Mueller =20 * Version 1.2 released. @@ -175,5 +180,5 @@ =20 * emacs-updater.sh: first version of Emacs updater =20 -Copyright 2007-2008 Gentoo Foundation +Copyright 2007-2009 Gentoo Foundation Distributed under the terms of the GNU General Public License v2 diff --git a/emacs-updater b/emacs-updater index 7bbc307..b1cc03b 100755 --- a/emacs-updater +++ b/emacs-updater @@ -1,6 +1,5 @@ #!/bin/bash - -# Copyright 2007-2008 Gentoo Foundation +# Copyright 2007-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ =20 @@ -9,6 +8,7 @@ # Ulrich Mueller =20 VERSION=3D1.2 +EMACS=3D/usr/bin/emacs SITELISP=3D/usr/share/emacs/site-lisp =20 # Default actions @@ -133,7 +133,7 @@ failure() { } =20 emacs-version() { - /usr/bin/emacs -batch -q --no-site-file --eval "(princ emacs-version= )" \ + "${EMACS}" -batch -q --no-site-file --eval "(princ emacs-version)" \ || { failure "Cannot run Emacs"; exit 5; } } =20