groff-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[groff] 01/01: [gdiffmk] Fix Savannah bug #44768.


From: Werner LEMBERG
Subject: [groff] 01/01: [gdiffmk] Fix Savannah bug #44768.
Date: Fri, 10 Apr 2015 07:44:15 +0000

wl pushed a commit to branch master
in repository groff.

commit 955c1b21eba5ed29ee7cf119c9cc86fb29fa1435
Author: Werner Lemberg <address@hidden>
Date:   Fri Apr 10 09:42:55 2015 +0200

    [gdiffmk] Fix Savannah bug #44768.
    
    * gdiffmk.sh: Remove bash's $(...) with classic `...`.
    Patch by Peter Bray.
---
 contrib/gdiffmk/ChangeLog  |    7 +++++++
 contrib/gdiffmk/gdiffmk.sh |   14 +++++++-------
 2 files changed, 14 insertions(+), 7 deletions(-)

diff --git a/contrib/gdiffmk/ChangeLog b/contrib/gdiffmk/ChangeLog
index 914e3a8..49c0546 100644
--- a/contrib/gdiffmk/ChangeLog
+++ b/contrib/gdiffmk/ChangeLog
@@ -1,3 +1,10 @@
+2015-04-10  Werner LEMBERG  <address@hidden>
+
+       Fix Savannah bug #44768.
+
+       * gdiffmk.sh: Remove bash's $(...) with classic `...`.
+       Patch by Peter Bray.
+
 2015-04-03  Werner LEMBERG  <address@hidden
 
        * gdiffmk.man: Make it work in compatibility mode.
diff --git a/contrib/gdiffmk/gdiffmk.sh b/contrib/gdiffmk/gdiffmk.sh
index e66f3eb..c0cec41 100644
--- a/contrib/gdiffmk/gdiffmk.sh
+++ b/contrib/gdiffmk/gdiffmk.sh
@@ -19,7 +19,7 @@
 # This file is part of GNU gdiffmk.
 
 
-cmd=$( basename $0 )
+cmd=`basename $0`
 
 Usage () {
        if test "$#" -gt 0
@@ -109,7 +109,7 @@ FileCreate () {
                if test ! -e "$2"
                then
                        Exit $1 "File \`$2' not created; " \
-                         "Cannot write directory \`$( dirname "$2" )'."
+                         "Cannot write directory \``dirname "$2"`'."
                fi
                Exit $1 "File \`$2' not writeable."
        fi
@@ -163,22 +163,22 @@ for OPTION
 do
        case "${OPTION}" in
        -a*)
-               ADDMARK=$( RequiresArgument "${OPTION}" $2 )            &&
+               ADDMARK=`RequiresArgument "${OPTION}" $2`               &&
                        shift
                ;;
        -c*)
-               CHANGEMARK=$( RequiresArgument "${OPTION}" $2 )         &&
+               CHANGEMARK=`RequiresArgument "${OPTION}" $2`            &&
                        shift
                ;;
        -d*)
-               DELETEMARK=$( RequiresArgument "${OPTION}" $2 )         &&
+               DELETEMARK=`RequiresArgument "${OPTION}" $2`            &&
                        shift
                ;;
        -D )
                D_option=D_option
                ;;
        -M* )
-               MARK1=$( RequiresArgument "${OPTION}" $2 )              &&
+               MARK1=`RequiresArgument "${OPTION}" $2`                 &&
                        shift
                if [ $# -lt 2 ]
                then
@@ -191,7 +191,7 @@ do
                br=.
                ;;
        -x* )
-               DIFFCMD=$( RequiresArgument "${OPTION}" $2 )            &&
+               DIFFCMD=`RequiresArgument "${OPTION}" $2`               &&
                        shift
                ;;
        --version)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]