[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-bug: [Bug 698720] Re: Fix bashism in sch2eaglepos.sh



** Changed in: geda
       Status: Fix Released => Fix Committed

** Changed in: geda
   Importance: Undecided => Medium

** Changed in: geda
    Milestone: None => 1.6.2

-- 
You received this bug notification because you are a member of gEDA Bug
Team, which is subscribed to gEDA.
https://bugs.launchpad.net/bugs/698720

Title:
  Fix bashism in sch2eaglepos.sh

Status in GPL Electronic Design Automation tools:
  Fix Committed

Bug description:
  The following bashisms were found in sch2eaglepos.sh:

> sch2eaglepos.sh line 47
> (read with option other than -r):
> while read -u 3; do

> sch2eaglepos.sh line 51
> (read with option other than -r):
>     read -u 3;

Also if the script was run with bash, I got this error:
./sch2eaglepos.sh: line 47: read: 3: invalid file descriptor: Bad file descriptor

The attached patch fixes the bashism.




_______________________________________________
geda-bug mailing list
geda-bug@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-bug