]> git.donarmstrong.com Git - cran2deb.git/blobdiff - trunk/R/build.R
Syntax correction.
[cran2deb.git] / trunk / R / build.R
index 967c68ae7a08ce52334a62e8957d24f35ffc752b..2d1b245a54db27e6fbe571216a5cdd335639c16c 100644 (file)
@@ -132,18 +132,14 @@ build_debian <- function(pkg) {
     #notice(paste("Now in path ",wd,"\n",sep=""))
     setwd(pkg$path)
     
-    notice('building Debian package'
-                 ,pkg$debname
-                 ,paste('(',pkg$debversion,')',sep='')
-                 ,'in',getwd(),
-                 ,'...')
+    notice('building Debian package',pkg$debname,paste('(',pkg$debversion,')',sep=''),'in',getwd(),'...')
 
     cmd = paste('pdebuild --configfile',shQuote(pbuilder_config))
     if (version_revision(pkg$debversion) > 2) {
         cmd = paste(cmd,'--debbuildopts','-sd')
         notice('build should exclude original source')
     }
-    notice(paste("Executing '",cmd,"' from directory '",getwd(),"'.\n",sep=""))
+    notice(paste("Executing ",'"',cmd,'"'," from directory '",getwd(),"'.\n",sep=""))
     ret = log_system(cmd)
     setwd(wd)
     if (ret != 0) {