[Pkg-electronics-commits] [SCM] Packaging for gEDA branch, master, updated. debian/1.6.1-2-2-g919ba23

أحمد المحمودي (Ahmed El-Mahmoudy) aelmahmoudy at sabily.org
Thu May 13 06:57:40 UTC 2010


The following commit has been merged in the master branch:
commit b4dfdd748d34743c396bebbb694744eced49f07c
Author: أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy at sabily.org>
Date:   Thu May 13 05:38:21 2010 +0300

    Fix another overlooked bashism (Thanks to Dan McMahill from upstream)

diff --git a/debian/patches/sch2eaglepos_bashism.diff b/debian/patches/sch2eaglepos_bashism.diff
index 34afd37..b1adcf2 100644
--- a/debian/patches/sch2eaglepos_bashism.diff
+++ b/debian/patches/sch2eaglepos_bashism.diff
@@ -13,13 +13,16 @@ Author: أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy at sabily.org>
 -3<$tmpf
 -while read -u 3; do
 +
-+while read; do
++while read rslt; do
      # the directory on the client to backup
-     X=`echo $REPLY | cut -d' ' -f1`
-     Y=`echo $REPLY | cut -d' ' -f2`
+-    X=`echo $REPLY | cut -d' ' -f1`
+-    Y=`echo $REPLY | cut -d' ' -f2`
 -    read -u 3;
-+    read;
-     PART="$REPLY"
+-    PART="$REPLY"
++    X=`echo $rslt | cut -d' ' -f1`
++    Y=`echo $rslt | cut -d' ' -f2`
++    read rslt;
++    PART="$rslt"
      X=`echo "scale=5; ($X - $XOFFSET) / $XSCALE" |bc`
      Y=`echo "scale=5; ($Y - $YOFFSET) / $YSCALE" |bc`
      echo "MOVE '$PART' ($X $Y);"

-- 
Packaging for gEDA



More information about the Pkg-electronics-commits mailing list