mirror of
https://github.com/kevin-DL/revel-cmd.git
synced 2026-01-17 13:04:51 +00:00
path.Join replaced by filepath.Join due to incorrect management of separators on Windows
This commit is contained in:
@@ -100,13 +100,13 @@ func buildApp(args []string) {
|
|||||||
|
|
||||||
mustRenderTemplate(
|
mustRenderTemplate(
|
||||||
runShPath,
|
runShPath,
|
||||||
path.Join(revel.RevelPath, "../cmd/revel", "package_run.sh.template"),
|
filepath.Join(revel.RevelPath, "../cmd/revel", "package_run.sh.template"),
|
||||||
tmplData)
|
tmplData)
|
||||||
|
|
||||||
mustChmod(runShPath, 0755)
|
mustChmod(runShPath, 0755)
|
||||||
|
|
||||||
mustRenderTemplate(
|
mustRenderTemplate(
|
||||||
path.Join(destPath, "run.bat"),
|
filepath.Join(destPath, "run.bat"),
|
||||||
path.Join(revel.RevelPath, "../cmd/revel", "package_run.bat.template"),
|
filepath.Join(revel.RevelPath, "../cmd/revel", "package_run.bat.template"),
|
||||||
tmplData)
|
tmplData)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user