~ubuntu-branches/ubuntu/utopic/asciidoc/utopic

« back to all changes in this revision

Viewing changes to debian/patches/normpath-not-realpath.patch

  • Committer: Bazaar Package Importer
  • Author(s): Alexander Wirt
  • Date: 2010-11-27 23:19:57 UTC
  • mfrom: (1.1.12 upstream) (3.1.6 sid)
  • Revision ID: james.westby@ubuntu.com-20101127231957-jxdmrk7z7lkcqy3l
Tags: 8.6.3-1
* New upstream version (Closes: #595324)
* Support asciidoc API (Closes: #526351)
* Depend on python >= 2.4 (Closes: #571303)
* Do not compress .txt files (Closes: #592423)
* Enhance asciidoc manpage (Closes: #499497)
* Move some of the Recommends (vim-addon-manager, source-highlight) to 
  Suggests (Closes: #564015)
* Bump standards version (No changes)
* Add README.Source file

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
diff -Nur -x '*.orig' -x '*~' asciidoc-8.4.4/asciidoc.py asciidoc-8.4.4.new/asciidoc.py
2
 
--- asciidoc-8.4.4/asciidoc.py  2009-04-26 01:03:14.000000000 +0200
3
 
+++ asciidoc-8.4.4.new/asciidoc.py      2009-04-26 13:18:43.000000000 +0200
4
 
@@ -195,7 +195,7 @@
5
 
     else:
6
 
         assert os.path.isdir(directory)
7
 
         directory = os.path.realpath(directory)
8
 
-    fname = os.path.realpath(fname)
9
 
+    fname = os.path.normpath(fname)
10
 
     return os.path.commonprefix((directory, fname)) == directory
11
 
 
12
 
 def safe():