[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Denemo-devel] MXE denemo build
From: |
Richard Shann |
Subject: |
Re: [Denemo-devel] MXE denemo build |
Date: |
Fri, 22 Sep 2017 09:00:55 +0100 |
On Thu, 2017-09-21 at 19:03 +0200, Johan Vromans wrote:
> On Thu, 21 Sep 2017 15:55:24 +0100, Richard Shann <address@hidden>
> wrote:
>
> > Johan - do you have an idea what's wrong here?
>
> I've uploaded my .spec file to
> http://www.squirrel.nl/pub/xfer/uploads/3CjK4UVlI_1PNyFFw85q_-tg.spec
>
Ah, right, the problem is the backslash "\" just before the re-direction
"< configure.ac~" of stdin, it was originally there to escape a newline
which has gone.
So the correct command is this:
sed "s;^\\(AC_INIT(\\[.*\\], \\[\\)\\(.*\\)\\], \\(\\[.*\\])\\);\\1\\2-`git
rev-parse --short HEAD`], \\3;" < configure.ac~ > configure.ac
and with that I get
git diff
diff --git a/configure.ac b/configure.ac
index 1a17fc9..8d0adf6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,5 +1,5 @@
dnl Process this file with autoconf to produce a configure script.
-AC_INIT([denemo], [2.2.1], address@hidden)
+AC_INIT([denemo], [2.2.1-83829d5], address@hidden)
AC_CONFIG_SRCDIR([src/core/main.c])
AM_INIT_AUTOMAKE([tar-pax foreign dist-xz subdir-objects])
dnl AC_CANONICAL_SYSTEM
as desired.
Thank you very much Johan,
Richard