public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] emacs r1252 - emacs-updater
@ 2009-04-14  1:12 Ulrich Mueller (ulm)
  0 siblings, 0 replies; only message in thread
From: Ulrich Mueller (ulm) @ 2009-04-14  1:12 UTC (permalink / raw
  To: gentoo-commits

Author: ulm
Date: 2009-04-14 01:12:11 +0000 (Tue, 14 Apr 2009)
New Revision: 1252

Modified:
   emacs-updater/ChangeLog
   emacs-updater/emacs-updater
Log:
Use POSIX syntax in sed expression.

Modified: emacs-updater/ChangeLog
===================================================================
--- emacs-updater/ChangeLog	2009-04-13 19:38:18 UTC (rev 1251)
+++ emacs-updater/ChangeLog	2009-04-14 01:12:11 UTC (rev 1252)
@@ -2,6 +2,7 @@
 
 	* emacs-updater (RED, GREEN, YELLOW, BLUE, MAGENTA, CYAN):
 	Change initialisation, since POSIX tput has no -S option.
+	(bytecomp-version): Use POSIX syntax in sed expression.
 
 2009-04-11  Ulrich Mueller  <ulm@gentoo.org>
 

Modified: emacs-updater/emacs-updater
===================================================================
--- emacs-updater/emacs-updater	2009-04-13 19:38:18 UTC (rev 1251)
+++ emacs-updater/emacs-updater	2009-04-14 01:12:11 UTC (rev 1252)
@@ -168,7 +168,7 @@
 
 # Get Emacs version from byte-compiled file
 bytecomp-version() {
-    sed -n '/^[^;]/q;s/\.$//;s/.*emacs version \([0-9].*\)/\1/Ip' "${1}"
+    sed -n '/^[^;]/q;s/\.$//;s/.*[Ee]macs version \([0-9].*\)/\1/p' "${1}"
 }
 
 action_sitedir() {




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-04-14  1:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-14  1:12 [gentoo-commits] emacs r1252 - emacs-updater Ulrich Mueller (ulm)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox