Skip to content

Commit

Permalink
Merge pull request #119 from CyberShadow/renovate/shellcheck-0.x
Browse files Browse the repository at this point in the history
Update dependency ShellCheck to v0.8.0
  • Loading branch information
CyberShadow committed Nov 22, 2021
2 parents 2708d6d + 0aae1f7 commit 12f42bf
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/common.bash
Expand Up @@ -158,13 +158,13 @@ function AconfCompileOutput() {
# Only do this in the "check" action, as unused files do not
# necessarily indicate a bug in the configuration - they may
# simply be used under certain conditions.
if [[ -d "$config_dir/files" ]]
if [[ -d "$config_dir"/files ]]
then
local line
find "$config_dir/files" -type f -print0 | \
find "$config_dir"/files -type f -print0 | \
while read -r -d $'\0' line
do
local key=${line#$config_dir/files}
local key=${line#"$config_dir"/files}
if [[ -z "${used_files[$key]+x}" ]]
then
ConfigWarning 'Unused file: %s\n' \
Expand Down
2 changes: 1 addition & 1 deletion src/save.bash
Expand Up @@ -221,7 +221,7 @@ function AconfSave() {
# Trim redundant blank parameters
while [[ -z "${args[-1]}" ]]
do
unset args[${#args[@]}-1]
unset 'args[${#args[@]}-1]'
done

printf '%s%s%s\n' "$func" "$(printf ' %q' "${args[@]}")" "$suffix" >> "$config_save_target"
Expand Down
4 changes: 2 additions & 2 deletions test/GNUmakefile
Expand Up @@ -33,8 +33,8 @@ $(TMP) :

# Download shellcheck

SHELLCHECK_VERSION=0.7.2
SHELLCHECK_TAR_SHA512=067e2b8ee1910218de1e62068f7cc86ed7048e97b2a9d7c475ea29ae81c17a944376ce5c240d5c783ef3251d9bee7d7d010351958314eadd0fc88b5decfd8328
SHELLCHECK_VERSION=0.8.0
SHELLCHECK_TAR_SHA512=89317d97adb341e627b709e86477734ce236e9fb290de8a8c41cdc62769a3225622fa609deffebeabe9edb71f5639a086f61b677947e3ec4bc07c540fcbd0973
SHELLCHECK_TAR_DIR=shellcheck-v$(SHELLCHECK_VERSION)
SHELLCHECK_TAR_FN=$(SHELLCHECK_TAR_DIR).linux.x86_64.tar.xz
SHELLCHECK_TAR_URL_BASE=https://github.com/koalaman/shellcheck/releases/download/v$(SHELLCHECK_VERSION)/
Expand Down

0 comments on commit 12f42bf

Please sign in to comment.