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-acf.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-acf.in')
-rw-r--r-- | setup-acf.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/setup-acf.in b/setup-acf.in index c22a975..46e3529 100644 --- a/setup-acf.in +++ b/setup-acf.in @@ -23,14 +23,14 @@ while getopts "ae:hl:n" opt ; do *) usage;; esac done -shift `expr $OPTIND - 1` +shift $(expr $OPTIND - 1) while [ $# -gt 0 ]; do pkgs="$pkgs acf-$1" shift done -# install packages +# install packages apk add mini_httpd $pkgs || exit 1 if [ "$create_passwd" != "no" ]; then |