Changeset 3895


Ignore:
Timestamp:
Mar 10, 2017, 2:57:59 PM (2 years ago)
Author:
hectorgh
Message:

wip

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lliurex-dpkg-provider/trunk/fuentes/build.py

    r3894 r3895  
    44from jinja2.loaders import FileSystemLoader
    55from jinja2 import Template
     6import os
    67
    7 tpl_env = Environment(loader=FileSystemLoader('debian/'))
     8curdir=os.path.abspath(".")
     9
     10tpl_env = Environment(loader=FileSystemLoader(curdir+'/debian/'))
    811
    912control_template=tpl_env.get_template("control")
     
    4245
    4346
    44 f=open("debian/control","w")
     47f=open(curdir+"debian/control","w")
    4548f.write(content)
    4649f.close()
Note: See TracChangeset for help on using the changeset viewer.