diff options
author | Allan McRae <allan@archlinux.org> | 2015-11-13 05:32:52 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2015-11-23 02:13:39 +0100 |
commit | c26e5b81e5c22e1316eb2f384cc175438772a8f2 (patch) | |
tree | 946a14ece82a6e099fa04eb14fe0f7a5a3da4048 /scripts/libmakepkg/lint_pkgbuild/util.sh.in | |
parent | 947dfda515505f937eac5b388384dd6df0278e40 (diff) | |
download | pacman-c26e5b81e5c22e1316eb2f384cc175438772a8f2.tar.gz pacman-c26e5b81e5c22e1316eb2f384cc175438772a8f2.tar.xz |
lint_pkgbuild: explicitly return value
Set the return value to be local and always explictly returns it.
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'scripts/libmakepkg/lint_pkgbuild/util.sh.in')
-rw-r--r-- | scripts/libmakepkg/lint_pkgbuild/util.sh.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/libmakepkg/lint_pkgbuild/util.sh.in b/scripts/libmakepkg/lint_pkgbuild/util.sh.in index 448abc8a..8760eb68 100644 --- a/scripts/libmakepkg/lint_pkgbuild/util.sh.in +++ b/scripts/libmakepkg/lint_pkgbuild/util.sh.in @@ -27,7 +27,7 @@ source "$LIBRARY/util/message.sh" check_files_exist() { - local kind=$1 files=("${@:2}") file ret + local kind=$1 files=("${@:2}") file ret=0 for file in "${files[@]}"; do if [[ $file && ! -f $file ]]; then |