Split up hardcoded path separators

This commit is contained in:
Justin Li
2014-10-16 10:48:24 -04:00
parent f7b5f1d5ba
commit 6ea9d159b2

View File

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