aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2024-07-15 04:40:41 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-07-20 08:09:14 +0700
commit99daa51ee744728727b8b1bd2b81a22182962416 (patch)
tree86aef14790d3653b043248125437e13b0f9c9a93
parent66c4ffe36e07d5e5d8785e4c4987d19557c2c6fe (diff)
system/netdata: Replaced backtick cmdsub.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--system/netdata/netdata.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/system/netdata/netdata.SlackBuild b/system/netdata/netdata.SlackBuild
index 1ee615a636569..854817043a3d2 100644
--- a/system/netdata/netdata.SlackBuild
+++ b/system/netdata/netdata.SlackBuild
@@ -136,27 +136,27 @@ cp system/netdata.conf $PKG/etc/netdata/netdata.conf.new
cp system/netdata-updater.conf $PKG/etc/netdata/netdata-updater.conf.new
# since 1.45.x, all files will be kept in /usr/lib
-for L in `ls $PKG/usr/lib/netdata/conf.d/*.conf`
+for L in $( ls $PKG/usr/lib/netdata/conf.d/*.conf )
do
mv $L $L.new
done
-for L in `ls $PKG/usr/lib/netdata/conf.d/python.d/*.conf`
+for L in $( ls $PKG/usr/lib/netdata/conf.d/python.d/*.conf )
do
mv $L $L.new
done
-for L in `ls $PKG/usr/lib/netdata/conf.d/charts.d/*.conf`
+for L in $( ls $PKG/usr/lib/netdata/conf.d/charts.d/*.conf )
do
mv $L $L.new
done
-for L in `ls $PKG/usr/lib/netdata/conf.d/health.d/*.conf`
+for L in $( ls $PKG/usr/lib/netdata/conf.d/health.d/*.conf )
do
mv $L $L.new
done
-for L in `ls $PKG/usr/lib/netdata/conf.d/statsd.d/*.conf`
+for L in $( ls $PKG/usr/lib/netdata/conf.d/statsd.d/*.conf )
do
mv $L $L.new
done