summaryrefslogtreecommitdiffstats
path: root/makeself
diff options
context:
space:
mode:
authorCosta Tsaousis (ktsaou) <costa@tsaousis.gr>2017-04-01 20:57:15 +0300
committerCosta Tsaousis (ktsaou) <costa@tsaousis.gr>2017-04-01 20:57:15 +0300
commit63d768f479f3a6519238ce6e186d41fc3ea0e1a3 (patch)
treeea34f3c00fdd26d3cc0129e02b0e120691ca6706 /makeself
parentcb54ed79a61cc7946853462174f2eabd920f8548 (diff)
copy config files to target directory
Diffstat (limited to 'makeself')
-rwxr-xr-xmakeself/install-or-update.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/makeself/install-or-update.sh b/makeself/install-or-update.sh
index 6e22533224..1a298e99eb 100755
--- a/makeself/install-or-update.sh
+++ b/makeself/install-or-update.sh
@@ -17,7 +17,7 @@ for x in $(find etc/netdata.new -name '*.conf' -type f)
do
# find it relative filename
f="${x/*etc\/netdata.new\//}"
- t="${x/*etc\/netdata.new\/etc\/netdata/}"
+ t="${x/*etc\/netdata.new\//etc\/netdata\//}"
d=$(dirname "${d}")
echo >&2 "x: ${x}"