Fix shellcheck warnings

This commit is contained in:
a1346054 2021-08-21 13:03:42 +00:00 committed by Tatsuhiro Tsujikawa
parent bbef0f0492
commit aea080969c
5 changed files with 20 additions and 20 deletions

View file

@ -29,7 +29,7 @@
# version. If you delete this exception statement from all source
# files in the program, then also delete it here.
get_version () {
VERSION=`grep AC_INIT configure.ac | sed '/AC_INIT/ s/AC_INIT(\[aria2\],\[\([^]]\+\)\],.*/\1/'`
get_version() {
VERSION=$(grep AC_INIT configure.ac | sed '/AC_INIT/ s/AC_INIT(\[aria2\],\[\([^]]\+\)\],.*/\1/')
echo "Version: $VERSION"
}