[Tails-dev] [PATCH] config/amnesia: use --show-field over se…

Delete this message

Reply to this message
Author: Chris Lamb
Date:  
To: tails-dev
Subject: [Tails-dev] [PATCH] config/amnesia: use --show-field over sed filtering.
Hi,

Attached is the following:

commit 6c1c6e20ac22c4c15517d7b231fe0dd1714db8e0
Author: Chris Lamb <lamby@???>
Date: Wed Sep 9 00:13:21 2015 +0100

      config/amnesia: use --show-field over sed filtering.


      Signed-off-by: Chris Lamb <lamby@???>


config/amnesia | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@??? / chris-lamb.co.uk
       `-

From 6c1c6e20ac22c4c15517d7b231fe0dd1714db8e0 Mon Sep 17 00:00:00 2001
From: Chris Lamb <lamby@???>
Date: Wed, 9 Sep 2015 00:13:21 +0100
Subject: [PATCH] config/amnesia: use --show-field over sed filtering.

Signed-off-by: Chris Lamb <lamby@???>
---
config/amnesia | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config/amnesia b/config/amnesia
index 437ccdf..fc0028d 100644
--- a/config/amnesia
+++ b/config/amnesia
@@ -32,7 +32,7 @@ fi
# Compute the current Amnesia's version once for all
AMNESIA_NOW="`date --utc '+%Y%m%dT%H%MZ'`"
AMNESIA_TODAY="`date '+%Y%m%d'`"
-AMNESIA_VERSION="`dpkg-parsechangelog | sed -n 's/^Version: //p'`"
+AMNESIA_VERSION="`dpkg-parsechangelog -SVersion`"
AMNESIA_FULL_VERSION="${AMNESIA_VERSION} - ${AMNESIA_TODAY}"

# Developpers' data used by git-dch, debcommit and friends in the release script
--
2.5.1