Revision: 25244
          http://sourceforge.net/p/gar/code/25244
Author:   opk
Date:     2015-09-16 15:25:41 +0000 (Wed, 16 Sep 2015)
Log Message:
-----------
guilt/trunk: fix for sed expression requiring GNU sed

Modified Paths:
--------------
    csw/mgar/pkg/guilt/trunk/files/0001-use-bash-for-scripts.patch

Modified: csw/mgar/pkg/guilt/trunk/files/0001-use-bash-for-scripts.patch
===================================================================
--- csw/mgar/pkg/guilt/trunk/files/0001-use-bash-for-scripts.patch      
2015-09-16 14:58:29 UTC (rev 25243)
+++ csw/mgar/pkg/guilt/trunk/files/0001-use-bash-for-scripts.patch      
2015-09-16 15:25:41 UTC (rev 25244)
@@ -1,4 +1,4 @@
-From 5650d79f0b65efdad9670f1628cf8c9add475119 Mon Sep 17 00:00:00 2001
+From 7a707402143c87208f7d9dc62830ed94e933e036 Mon Sep 17 00:00:00 2001
 From: Oliver Kiddle <o...@opencsw.org>
 Date: Wed, 16 Sep 2015 14:56:57 +0200
 Subject: [PATCH] use bash for scripts
@@ -7,8 +7,8 @@
  Documentation/Makefile    | 2 +-
  Documentation/cmd-list.sh | 2 +-
  Documentation/usage.sh    | 2 +-
- guilt                     | 2 +-
- 4 files changed, 4 insertions(+), 4 deletions(-)
+ guilt                     | 4 ++--
+ 4 files changed, 5 insertions(+), 5 deletions(-)
 
 diff --git a/Documentation/Makefile b/Documentation/Makefile
 index eb9c2b7..ea54e9d 100644
@@ -47,7 +47,7 @@
  name=$(basename $1)
  u=$(grep USAGE $1 |  sed 's/USAGE="//' | sed 's/"$//') 
 diff --git a/guilt b/guilt
-index 35177b9..5b2deb9 100755
+index 35177b9..0e88cfd 100755
 --- a/guilt
 +++ b/guilt
 @@ -1,4 +1,4 @@
@@ -56,6 +56,15 @@
  #
  # Copyright (c) Josef "Jeff" Sipek, 2006-2015
  #
+@@ -229,7 +229,7 @@ get_full_series()
+       #       - optional whitespace followed by '#' followed by more
+       #         optional whitespace
+       # also remove comments from end of lines
+-      sed -n -e "/^[[:space:]]*\(#.*\)*\$/ ! {
++      gsed -n -e "/^[[:space:]]*\(#.*\)*\$/ ! {
+               s/[[:space:]]*#.*\$//
+ 
+               p
 -- 
 2.4.0
 

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

Reply via email to