mirror of
https://github.com/go-gitea/gitea
synced 2024-11-14 06:04:25 +00:00
bug fixed
This commit is contained in:
parent
1284d99fd2
commit
29fe44da50
@ -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…
Reference in New Issue
Block a user