From 7c8166cad283ed7d4aa6ee57e9fc953b81be196c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Wed, 15 Apr 2015 15:41:56 +0200 Subject: [PATCH] updated build script --- build.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.go b/build.go index d539cee3919..44440fc6590 100644 --- a/build.go +++ b/build.go @@ -188,8 +188,9 @@ func createPackage(options linuxPackageOptions) { // copy systemd file runPrint("cp", "-p", options.systemdFileSrc, filepath.Join(packageRoot, options.systemdServiceFilePath)) // copy release files - runPrint("rm", "-rf", filepath.Join(workingDir, "tmp/bin")) runPrint("cp", "-a", filepath.Join(workingDir, "tmp")+"/.", filepath.Join(packageRoot, options.homeDir)) + // remove bin path + runPrint("rm", "-rf", filepath.Join(packageRoot, options.homeDir, "bin")) // copy sample ini file to /etc/opt/grafana runPrint("cp", "conf/sample.ini", filepath.Join(packageRoot, options.configFilePath))