aboutsummaryrefslogtreecommitdiffstats
path: root/setup-bootable.in
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2016-11-02 22:11:04 +0100
committerJakub Jirutka <jakub@jirutka.cz>2016-11-02 22:11:21 +0100
commit07c02f672a5708e4dcd9ed9aa3935840916f4c6e (patch)
tree9ff73b028918c1b7940fcbf31fcf87176c8bd741 /setup-bootable.in
parentcb474e20d6ff923a8f338f26b93234411065ffc0 (diff)
downloadalpine-conf-07c02f672a5708e4dcd9ed9aa3935840916f4c6e.tar.bz2
alpine-conf-07c02f672a5708e4dcd9ed9aa3935840916f4c6e.tar.xz
replace deprecated `...` syntax with $(...) in shell scripts
Diffstat (limited to 'setup-bootable.in')
-rw-r--r--setup-bootable.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup-bootable.in b/setup-bootable.in
index 205aa1b..b2c6796 100644
--- a/setup-bootable.in
+++ b/setup-bootable.in
@@ -215,7 +215,7 @@ fi
srcdir=
# Find the srcdir or srcurl. mount loopback if needed
if [ -f "$src"/.alpine-release ]; then
- srcdir="`echo $src | sed -r 's,/$,,'`"
+ srcdir="$(echo $src | sed -r 's,/$,,')"
else
case "$src" in
http://*|ftp://*) srcurl="$src";;