Browse Source

bug fixed

tags/v1.2.0-rc1
Lunny Xiao 11 years ago
parent
commit
29fe44da50
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      models/repo.go

+ 1
- 1
models/repo.go View File

@@ -268,7 +268,7 @@ func initRepository(f string, user *User, repo *Repository, initReadme bool, rep
} }
defer pu.Close() defer pu.Close()
// TODO: Windows .bat // TODO: Windows .bat
if _, err = pu.WriteString(fmt.Sprintf("#!/usr/bin/env bash\n%s update ARGV[0] ARGV[1] ARGV[2]\n", appPath)); err != nil {
if _, err = pu.WriteString(fmt.Sprintf("#!/usr/bin/env bash\n%s update $1 $2 $3\n", appPath)); err != nil {
return err return err
} }




Loading…
Cancel
Save