Browse Source

fix(build): fixed issue in build.go

Torkel Ödegaard 10 năm trước cách đây
mục cha
commit
2cbe6cdfd8
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      build.go

+ 1 - 1
build.go

@@ -210,7 +210,7 @@ func createPackage(options linuxPackageOptions) {
 	// copy sample ini file to /etc/grafana
 	runPrint("cp", "conf/sample.ini", filepath.Join(packageRoot, options.configFilePath))
 	// copy sample ldap toml config file to /etc/grafana/ldap.toml
-	runPrint("cp", "conf/sample.ini", filepath.Join(packageRoot, ldapFilePath))
+	runPrint("cp", "conf/sample.ini", filepath.Join(packageRoot, options.ldapFilePath))
 
 	args := []string{
 		"-s", "dir",