Skip to content
Snippets Groups Projects
Commit b5c520a9 authored by rswindell's avatar rswindell
Browse files

Added support for an 'uploader' TickIt global option. If specified, this

value will be passed as the '-x' parameter (uploader) value to addfiles
when adding files to filebases.
parent 993b5aaa
No related branches found
No related tags found
No related merge requests found
......@@ -508,7 +508,10 @@ function import_files()
f.write(files_bbs[i]);
f.close();
cmd = system.exec_dir+"addfiles "+i+" -zd +"+f.name+" 24 13";
cmd = system.exec_dir+"addfiles "+i;
if (tickit.gcfg.uploader !== undefined)
cmd += '"-x ' + tickit.gcfg.uploader + '"';
cmd += " -zd +"+f.name+" 24 13";
log(LOG_DEBUG, "Executing: '"+cmd+"'.");
system.exec(cmd);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment