From 67ffb502ea0c2bbf36dbfc0c8dfcd065002aabd8 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 23 Aug 2017 22:07:00 +0200 Subject: silence all other shellcheck warnings --- bin/common-functions | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bin/common-functions') diff --git a/bin/common-functions b/bin/common-functions index 2d15f5e..4befce0 100755 --- a/bin/common-functions +++ b/bin/common-functions @@ -2,6 +2,8 @@ # contains functions used by more than one script +# shellcheck disable=SC2039 + if [ -z "${base_dir}" ]; then # just to make shellcheck happy . 'conf/default.conf' @@ -64,6 +66,7 @@ find_repository_with_commit() { local repository for repository in ${repo_names}; do + # shellcheck disable=SC2016 if [ "$(eval git -C "$(printf '"${repo_paths__%s}"' "${repository}")" cat-file -t '"$1"' 2> /dev/null)" = "commit" ]; then echo "${repository}" return 0 @@ -399,6 +402,7 @@ remove_old_package_versions() { local pkgname="${package%-*-*-*.pkg.tar.xz}" + # shellcheck disable=SC2046 ${master_mirror_rsync_command} \ --recursive \ --delete \ -- cgit v1.2.3-70-g09d2