diff options
author | Erich Eckner <git@eckner.net> | 2017-08-23 22:07:00 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-08-23 22:07:00 +0200 |
commit | 67ffb502ea0c2bbf36dbfc0c8dfcd065002aabd8 (patch) | |
tree | 44ebe3ab863d236e052440f5ca72361316494971 /bin/common-functions | |
parent | 1061c920833a562e02584aa70e7c889a734139d8 (diff) | |
download | builder-67ffb502ea0c2bbf36dbfc0c8dfcd065002aabd8.tar.xz |
silence all other shellcheck warnings
Diffstat (limited to 'bin/common-functions')
-rwxr-xr-x | bin/common-functions | 4 |
1 files changed, 4 insertions, 0 deletions
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 \ |