diff options
author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-05-10 16:47:46 +0200 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-07-11 12:52:01 +0200 |
commit | d7d6e055e9d9d9554f59e919f37e0b6cd46b12a1 (patch) | |
tree | e2495a77aa22a3f89014293181c101f93dc14bc0 /package/base-files/files/etc | |
parent | 5115cb0501674bd613d39edab41957578565ff9e (diff) | |
download | upstream-d7d6e055e9d9d9554f59e919f37e0b6cd46b12a1.tar.gz upstream-d7d6e055e9d9d9554f59e919f37e0b6cd46b12a1.tar.bz2 upstream-d7d6e055e9d9d9554f59e919f37e0b6cd46b12a1.zip |
base-files: replace backticks by $(...)
This replaces deprecated backticks by more versatile $(...) syntax.
This does not touch lib/upgrade/nand.sh, as there replacement is
not trivial.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'package/base-files/files/etc')
-rw-r--r-- | package/base-files/files/etc/uci-defaults/13_fix-group-user | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/etc/uci-defaults/13_fix-group-user b/package/base-files/files/etc/uci-defaults/13_fix-group-user index bf9febdfe4..74f501e8f7 100644 --- a/package/base-files/files/etc/uci-defaults/13_fix-group-user +++ b/package/base-files/files/etc/uci-defaults/13_fix-group-user @@ -1,6 +1,6 @@ . /lib/functions.sh -for file in `grep -sl Require-User /usr/lib/opkg/info/*.control`; do +for file in $(grep -sl Require-User /usr/lib/opkg/info/*.control); do file="${file##*/}" file="${file%.control}" add_group_and_user "${file}" |