Skip to content

Commit

Permalink
Fix Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mattfidler committed Nov 14, 2017
1 parent ca2e945 commit e448dc4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/nsis.R
Original file line number Diff line number Diff line change
@@ -146,10 +146,10 @@ buildInstaller <- function(name="nlmixr"){
nsis <- gsub("<%=archext%>", archext, nsis, fixed=TRUE);
dr <- gsub("/", "\\", devtools::package_file("build"), fixed=TRUE)
nsis <- gsub("<%=dir%>", dr, nsis, fixed=TRUE);
sink(file.path(devtools::package_file("build"), sprintf("%s%s.nsi", name, archex)));
sink(file.path(devtools::package_file("build"), sprintf("%s%s.nsi", name, archext)));
cat(nsis)
sink()
nsis <- sprintf("%s\\%s%s.nsi", dr, name, archex);
nsis <- sprintf("%s\\%s%s.nsi", dr, name, archext);
system(sprintf("makensis %s", nsis));
unlink(nsis)
}

0 comments on commit e448dc4

Please sign in to comment.