bug-gnustep
[Top][All Lists]
Advanced

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

debugapp patch for non-GNU greps


From: Riccardo
Subject: debugapp patch for non-GNU greps
Date: Tue, 01 Jun 2004 12:57:19 +0200

Hello,

I acclude a patch to have debugapp work on non-GNU grep systems, in my
case Solaris.

Cheers,
        Riccardo
        aka grey_gandalf
*** debugapp    Wed May 19 16:13:51 2004
--- /usr/GNUstep/System/Tools/debugapp  Thu May 20 11:28:43 2004
***************
*** 216,222 ****
    # Old versions of gdb don't support --args, so we only use it if
    # 'gdb --help' lists it.
    args=
!   if (gdb --help | grep -e --args > /dev/null); then
      args="--args"
    fi
  
--- 216,222 ----
    # Old versions of gdb don't support --args, so we only use it if
    # 'gdb --help' lists it.
    args=
!   if (gdb --help | grep '\-\-args' > /dev/null); then
      args="--args"
    fi
  


reply via email to

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