bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/5652] genscripts.sh fails with BASH_LINENO


From: nickc at redhat dot com
Subject: [Bug ld/5652] genscripts.sh fails with BASH_LINENO
Date: 25 Jan 2008 16:56:05 -0000

------- Additional Comments From nickc at redhat dot com  2008-01-25 16:56 
-------
Hi Vincent,

  Thanks for reporting this problem.

  I am not sure if your proposed patch will work for all versions of /bin/sh
however.  Correct me if I am wrong, but aren't shell functions a feature of bash
rather than all shells ?  So wouldn't it be better to just test BASH_LINENO
directly ?  eg:

  if test $BASH_LINENO" != "x"; then
    source_em()

Cheers
  Nick

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING


http://sourceware.org/bugzilla/show_bug.cgi?id=5652

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

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