~ubuntu-branches/ubuntu/raring/maradns/raring

« back to all changes in this revision

Viewing changes to update/1.2.12.04/maradns-1.2.12.03-ej2txt.patch

  • Committer: Bazaar Package Importer
  • Author(s): Kai Hendry
  • Date: 2010-01-24 12:17:40 UTC
  • mfrom: (1.1.13 upstream) (10.1.4 sid)
  • Revision ID: james.westby@ubuntu.com-20100124121740-a4e1fjobwaouz443
Tags: 1.4.02-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
*** maradns-1.2.12.03/tools/ej/ej2txt   Tue Nov 29 22:27:21 2005
2
 
--- maradns-1.2.12.04/tools/ej/ej2txt   Sun Nov 12 12:51:15 2006
3
 
***************
4
 
*** 3,8 ****
5
 
--- 3,10 ----
6
 
  # Convert an ej document to a htmlpage document; which we then make a utf-8
7
 
  # text document
8
 
  
9
 
+ TMP=$HOME/tmp
10
 
11
 
  if which ej2html > /dev/null 2>&1 ; then
12
 
        CMD=ej2html
13
 
  elif [ -e ../../tools/ej/ej2html ] ; then
14
 
***************
15
 
*** 16,19 ****
16
 
        exit 1
17
 
  fi
18
 
  
19
 
! $CMD $1 | links -dump -stdin 
20
 
--- 18,24 ----
21
 
        exit 1
22
 
  fi
23
 
  
24
 
! $CMD $1 > $TMP/$$.html
25
 
! links -dump $TMP/$$.html
26
 
! rm $TMP/$$.html
27