summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAuke Booij (tulcod) <auke@tulcod.com>2010-08-08 14:37:51 +0200
committerAuke Booij (tulcod) <auke@tulcod.com>2010-08-08 14:37:51 +0200
commit6ea79eec15c4d53e5a08cd9109043a55ffc82990 (patch)
treeb6046235101661a6f23967e92f6573dccc10fbed
parentFixed exit codes (diff)
downloadg-cran-6ea79eec15c4d53e5a08cd9109043a55ffc82990.tar.gz
g-cran-6ea79eec15c4d53e5a08cd9109043a55ffc82990.tar.bz2
g-cran-6ea79eec15c4d53e5a08cd9109043a55ffc82990.zip
Revert "Fix"
This reverts commit 7e7abffca960d2ad147a8aa77ed02518edc75579.
-rw-r--r--g_common/g_common.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/g_common/g_common.py b/g_common/g_common.py
index 5563608..269ea15 100644
--- a/g_common/g_common.py
+++ b/g_common/g_common.py
@@ -186,6 +186,7 @@ def generate_tree(repo_location,generate_manifest,generate_metadata):
os.symlink(ebuild_file,os.path.join(ebuild_dir,package_file))
if generate_metadata:
metadata_file=open(os.path.join(ebuild_dir,'metadata.xml'),'w')
+ metadata_file.write("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE pkgmetadata SYSTEM \"http://www.gentoo.org/dtd/metadata.dtd\">\n<pkgmetadata>\n</pkgmetadata>\n")
metadata_file.close()
if generate_manifest:
populate_manifest(os.path.join(ebuild_dir,'Manifest'),ebuild_dir)