system("cp -r /usr/share/moin/data /usr/share/moin/underlay $project_dir/");
system("chown -R gforge:gforge $project_dir");
$template = "/etc/fusionforge/plugins/moinmoin/PROJECT_NAME.py.tmpl";
- system('(echo "# Automatically generated on `date` from $template";'
+ system('(echo "# Automatically generated on `date` from '.$template.'";'
+ 'echo "# DO NOT EDIT";'
- + 'sed s/@PROJECT_NAME@/$project/ < $template) > $wikidata/$project.py');
+ + 'sed s/@PROJECT_NAME@/'.$project.'/ < $template) > $wikidata/$project.py');
$need_reload = true;
}