[sympow] 04/04: Imported Debian patch 1.019-4

Cédric Boutillier boutil at moszumanska.debian.org
Fri Aug 22 11:59:34 UTC 2014


This is an automated email from the git hooks/post-receive script.

boutil pushed a commit to branch master
in repository sympow.

commit 5922f2b57bfbd432c8563ab7a9adae11f2474556
Author: Tim Abbott <tabbott at mit.edu>
Date:   Sat Aug 2 14:55:32 2008 -0400

    Imported Debian patch 1.019-4
---
 debian/changelog | 6 ++++++
 debian/gen-data  | 3 ++-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 6b60d27..0bca760 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+sympow (1.019-4) unstable; urgency=low
+
+  * Fix bashism in gen-data script (Closes: #493410).
+
+ -- Tim Abbott <tabbott at mit.edu>  Sat, 02 Aug 2008 14:55:32 -0400
+
 sympow (1.019-3) unstable; urgency=low
 
   * Include precomputed data files.
diff --git a/debian/gen-data b/debian/gen-data
index 53b8049..f8b4d0e 100644
--- a/debian/gen-data
+++ b/debian/gen-data
@@ -2,5 +2,6 @@
 
 for x in debian/datafiles/*M.txt; do
     NUM=`grep -c AT $x`
-    ./sympow -txt2bin $NUM ${x//txt/bin} < $x
+    BIN=$(echo $x | sed 's/txt/bin/')
+    ./sympow -txt2bin $NUM $BIN < $x
 done

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/sympow.git



More information about the debian-science-commits mailing list