mirror of
https://github.com/kevin-DL/revel-cmd.git
synced 2026-01-12 02:55:16 +00:00
Merge pull request #5 from jeryagor/master
path.Join replaced by filepath.Join
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user