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-hostname.in | |
parent | cb474e20d6ff923a8f338f26b93234411065ffc0 (diff) | |
download | alpine-conf-07c02f672a5708e4dcd9ed9aa3935840916f4c6e.zip |
replace deprecated `...` syntax with $(...) in shell scripts
Diffstat (limited to 'setup-hostname.in')
-rw-r--r-- | setup-hostname.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/setup-hostname.in b/setup-hostname.in index 04420ac..a6aca77 100644 --- a/setup-hostname.in +++ b/setup-hostname.in @@ -57,7 +57,7 @@ fi HOST="$name" while [ -z "$name" ]; do - HOST=`hostname` + HOST=$(hostname) echon "Enter system hostname (short form, e.g. 'foo') [$HOST]: " default_read HOST "$HOST" if valid_hostname "$HOST"; then |