global("cache_root", '/var/cache/cran2deb')
global("pbuilder_results", file.path('/var/cache/cran2deb/results',which_sys))
global("pbuilder_config", file.path('/etc/cran2deb/sys',which_sys,'pbuilderrc'))
- global("dput_config", file.path('/etc/cran2deb/sys',which_sys,'dput.cf')
- global("dinstall_config", file.path('/etc/cran2deb/sys',which_sys,'mini-dinstall.conf')
+ global("dput_config", file.path('/etc/cran2deb/sys',which_sys,'dput.cf'))
+ global("dinstall_config", file.path('/etc/cran2deb/sys',which_sys,'mini-dinstall.conf'))
global("dinstall_archive", file.path('/etc/cran2deb/archive',which_sys))
global("r_depend_fields", c('Depends','Imports')) # Suggests, Enhances
global("scm_revision", 'svn:$Id$')
global("changesfile", function(srcname,version='*') {
return(file.path(pbuilder_results
,paste(srcname,'_',version,'_'
- ,host_arch(),'.changes',sep='')))
+ ,host_arch,'.changes',sep='')))
})
cache <- file.path(cache_root,'cache.rda')
if (file.exists(cache)) {
load(cache,envir=.GlobalEnv)
}
+ message(paste('I: cran2deb',scm_revision,'building for',which_sys))
}