summaryrefslogtreecommitdiff
path: root/site_scons
diff options
context:
space:
mode:
authorDaniel Burrows <dburrows@debian.org>2010-04-25 17:45:33 -0700
committerDaniel Burrows <dburrows@debian.org>2010-04-25 17:45:33 -0700
commitf1b2d1f808e5f86fa4581d0f89b4591d0948146b (patch)
tree122205ccb475b816aadfb307876664fa76e69254 /site_scons
parent1ba8b0d2f9bc569a34796fdae8b71587df857c6b (diff)
downloadaptitude-f1b2d1f808e5f86fa4581d0f89b4591d0948146b.tar.gz
Put more File() wrappers in out of paranoia.
Diffstat (limited to 'site_scons')
-rw-r--r--site_scons/site_tools/aptitude_doc.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/site_scons/site_tools/aptitude_doc.py b/site_scons/site_tools/aptitude_doc.py
index fde544ea..b1946fbd 100644
--- a/site_scons/site_tools/aptitude_doc.py
+++ b/site_scons/site_tools/aptitude_doc.py
@@ -228,7 +228,7 @@ to distribute.'''
'../po4a/add_%s/addendum.1.%s'
% (lang, lang))
if os.path.exists(testdir):
- add = '../po4a/add_%s/addendum.1.%s' % (lang, lang)
+ add = File('../po4a/add_%s/addendum.1.%s' % (lang, lang))
if add is False:
add = None
@@ -238,7 +238,7 @@ to distribute.'''
if main_percent_translated is None:
translated_mainfile = None
else:
- translated_mainfile = env.Po4A('aptitude.xml',
+ translated_mainfile = env.Po4A(File('aptitude.xml'),
File('../en/aptitude.xml'),
pofile,
addendum = add,
@@ -249,7 +249,7 @@ to distribute.'''
if manpage_percent_translated is None:
translated_manpage = None
else:
- translated_manpage = env.Po4A('manpage.xml',
+ translated_manpage = env.Po4A(File('manpage.xml'),
File('../en/manpage.xml'),
pofile,
percent_translated = manpage_percent_translated,