Commit 8b0af4f3 authored by ligaishun's avatar ligaishun

Update process.go

parent 544975cb
...@@ -132,7 +132,7 @@ func GetLatestVersion()string{ ...@@ -132,7 +132,7 @@ func GetLatestVersion()string{
func DownLoadLatestVersion()error{ func DownLoadLatestVersion()error{
git:=exec.Command("git","clone",setting.BityuanSetting.GitPath,"./"+setting.BityuanSetting.Name) git:=exec.Command("git","clone",setting.BityuanSetting.GitPath,"./"+setting.BityuanSetting.Name)
sed:=exec.Command("sed", fmt.Sprintf("15,18 s/bityuan/",setting.BityuanSetting.Name,"/1") ,"Makefile") sed:=exec.Command("sed", fmt.Sprintf("15,18 s/bityuan/%s/1",setting.BityuanSetting.Name) ,"Makefile")
makeb:=exec.Command("make") makeb:=exec.Command("make")
git.Start() git.Start()
err:=git.Wait() err:=git.Wait()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment