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-alpine.in | |
parent | cb474e20d6ff923a8f338f26b93234411065ffc0 (diff) | |
download | alpine-conf-07c02f672a5708e4dcd9ed9aa3935840916f4c6e.zip |
replace deprecated `...` syntax with $(...) in shell scripts
Diffstat (limited to 'setup-alpine.in')
-rw-r--r-- | setup-alpine.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/setup-alpine.in b/setup-alpine.in index 4aa5da3..efd6d4a 100644 --- a/setup-alpine.in +++ b/setup-alpine.in @@ -46,7 +46,7 @@ while getopts "af:c:hq" opt ; do *) usage;; esac done -shift `expr $OPTIND - 1` +shift $(expr $OPTIND - 1) rc_sys=$(openrc --sys) # mount xenfs so we can detect xen dom0 |