[packages/adapter: 363/631] - use gawk which works better with utf8 strings

glen glen at pld-linux.org
Mon Sep 12 20:04:52 CEST 2016


commit 37fceb07fcc4d0e359315acff85326051faef070
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sun Feb 25 11:45:23 2007 +0000

    - use gawk which works better with utf8 strings
    
    Changed files:
        adapter.awk -> 1.350
        adapter.sh -> 1.19

 adapter.awk | 2 +-
 adapter.sh  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/adapter.awk b/adapter.awk
index 01c4092..5acc17d 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -1,4 +1,4 @@
-#!/bin/awk -f
+#!/usr/bin/gawk -f
 #
 # This is adapter v0.28. Adapter adapts .spec files for PLD Linux.
 # $Id$
diff --git a/adapter.sh b/adapter.sh
index 2391331..b012c2f 100644
--- a/adapter.sh
+++ b/adapter.sh
@@ -128,7 +128,7 @@ adapterize()
 {
 	 local tmpdir
 	 tmpdir=$(mktemp -d ${TMPDIR:-/tmp}/adapter-XXXXXX) || exit
-	 awk -f adapter.awk $SPECFILE > $tmpdir/$SPECFILE || exit
+	 gawk -f adapter.awk $SPECFILE > $tmpdir/$SPECFILE || exit
 
 	 if [ "`diff --brief $SPECFILE $tmpdir/$SPECFILE`" ]; then
 		  diff -u $SPECFILE $tmpdir/$SPECFILE > $tmpdir/$SPECFILE.diff
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/adapter.git/commitdiff/6ca0126d4d0c8c79feb7db10b0a0fade0f3b8885



More information about the pld-cvs-commit mailing list