gitlab-shell: fix hard-coded path
commitc2b54dcee585480811a10b8e1dd0dd0b46139caa
authorRobin Gloster <mail@glob.in>
dateTue 4 Dec 2018, 21:26 (8 years ago)
parent88b63b2
pkgs/applications/version-management/gitlab/gitlab-shell/remove-hardcoded-locations.patch+1−1
@@ -25,7 +25,7 @@ index 435cb29..078c1df 100644
2525
2626 func NewFromDir(dir string) (*Config, error) {
2727- return newFromFile(path.Join(dir, configFile))
28−+ return newFromFile(path.Join(dir, "shell-config.yml"))
28++ return newFromFile("/run/gitlab/shell-config.yml")
2929 }
3030
3131 func newFromFile(filename string) (*Config, error) {