--- a/sbin/sync/fabfile.py Wed Aug 31 17:39:31 2016 +0200
+++ b/sbin/sync/fabfile.py Wed Aug 31 18:22:19 2016 +0200
@@ -6,16 +6,16 @@
from fablib import (export_version, do_sync_web, create_config,
clean_export_folder, do_sync_comp, sync_install_build, do_create_virtualenv,
clean_rsync_folder, rsync_export, get_src_version, sync_build,
- do_relaunch_server, install_build, do_create_virtualenv_requirement)
+ do_relaunch_server, install_build, do_create_virtualenv_requirement, build_src)
from fabric.api import task, env
from fabric.colors import green
def build_source(version):
print(green("build source with version %s" % version))
export_path = export_version(iconolab=version)
- export_path_full = os.path.join(export_path,'src')
+ export_path_full = os.path.join(export_path, env.key, env.repos[env.key]['src_root'])
build_src(export_path_full)
- (_,version_str) = get_src_version(env.key, src_path)
+ (_,version_str) = get_src_version(env.key, export_path_full)
return os.path.join(src_path,"dist","%s-%s.tar.gz" % (env.key,version_str))
@task