Merge pull request #5 from jeryagor/master

path.Join replaced by filepath.Join
This commit is contained in:
Justin Li
2014-10-16 10:46:35 -04:00

View File

@@ -100,13 +100,13 @@ func buildApp(args []string) {
mustRenderTemplate(
runShPath,
path.Join(revel.RevelPath, "../cmd/revel", "package_run.sh.template"),
filepath.Join(revel.RevelPath, "../cmd/revel", "package_run.sh.template"),
tmplData)
mustChmod(runShPath, 0755)
mustRenderTemplate(
path.Join(destPath, "run.bat"),
path.Join(revel.RevelPath, "../cmd/revel", "package_run.bat.template"),
filepath.Join(destPath, "run.bat"),
filepath.Join(revel.RevelPath, "../cmd/revel", "package_run.bat.template"),
tmplData)
}