diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2016-11-02 22:11:04 +0100 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2016-11-02 22:11:21 +0100 |
commit | 07c02f672a5708e4dcd9ed9aa3935840916f4c6e (patch) | |
tree | 9ff73b028918c1b7940fcbf31fcf87176c8bd741 /setup-apkrepos.in | |
parent | cb474e20d6ff923a8f338f26b93234411065ffc0 (diff) | |
download | alpine-conf-07c02f672a5708e4dcd9ed9aa3935840916f4c6e.tar.bz2 alpine-conf-07c02f672a5708e4dcd9ed9aa3935840916f4c6e.tar.xz |
replace deprecated `...` syntax with $(...) in shell scripts
Diffstat (limited to 'setup-apkrepos.in')
-rw-r--r-- | setup-apkrepos.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/setup-apkrepos.in b/setup-apkrepos.in index 8c5e1e6..455dc20 100644 --- a/setup-apkrepos.in +++ b/setup-apkrepos.in @@ -176,12 +176,12 @@ fi MIRRORS_PATH=/usr/share/alpine-mirrors/MIRRORS.txt if [ -z "$MIRRORS" ] && [ -r "$MIRRORS_PATH" ]; then - MIRRORS=`cat $MIRRORS_PATH` + MIRRORS=$(cat $MIRRORS_PATH) fi APKREPOS_PATH="${ROOT}"etc/apk/repositories if [ -r "$APKREPOS_PATH" ]; then - APKREPOS=`cat "$APKREPOS_PATH"` + APKREPOS=$(cat "$APKREPOS_PATH") fi get_alpine_release |