~ubuntu-branches/ubuntu/utopic/dbacl/utopic

« back to all changes in this revision

Viewing changes to debian/patches/10_fix_bashisms.patch

  • Committer: Bazaar Package Importer
  • Author(s): Zak B. Elep
  • Date: 2008-12-11 23:53:55 UTC
  • mto: This revision was merged to the branch mainline in revision 7.
  • Revision ID: james.westby@ubuntu.com-20081211235355-v0f4ijmp7skkd22y
* Acknowledge NMU by bddebian@, thanks
* debian/control:
  + Update maintainer email
  + Update Standards-Version
  + Add ${misc:Depends}
  + Remove flex from Build-Depends
* debian/patches:
  + Fix bashism, patch courtesy of Chris Lamb <chris@chris-lamb.co.uk>
    (Closes: #489560)
  + Rebuild autotools (but don't include autom4te.cache)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Fix bashism found by Raphael Geissert <atomo64@gmail.com>
 
2
# Patch by Chris Lamb <chris@chris-lamb.co.uk>
 
3
diff -urNd dbacl-1.12.orig/TREC/finalize dbacl-1.12/TREC/finalize
 
4
--- dbacl-1.12.orig/TREC/finalize       2008-08-24 14:07:48.000000000 +0100
 
5
+++ dbacl-1.12/TREC/finalize    2008-08-24 14:08:51.000000000 +0100
 
6
@@ -14,8 +14,8 @@
 
7
        TOKS=`head -3 $W/db/$f | tail -1 | sed 's/.*_features //;s/ documents.*//'`
 
8
        SIZ=`du -h $W/db/$f`
 
9
        
 
10
-       echo -e "$SIZ\thas learned $DOCS documents,\t$TOKS tokens."
 
11
+       printf "$SIZ\thas learned $DOCS documents,\t$TOKS tokens.\n"
 
12
 done
 
13
 
 
14
 
 
15
-exit 0
 
16
\ No newline at end of file
 
17
+exit 0