makepkg: remove bash4-only parameter expansion in check_sanity

Signed-off-by: Andres P <aepd87@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
Andres P 2010-06-25 18:46:45 -04:30 committed by Dan McGee
parent d7c98d4e45
commit 8b23aa172f

View file

@ -1250,7 +1250,7 @@ check_sanity() {
# evaluate any bash variables used # evaluate any bash variables used
eval file=${file} eval file=${file}
if [[ ! -f $file ]]; then if [[ ! -f $file ]]; then
error "$(gettext "%s file (%s) does not exist.")" "${i^}" "$file" error "$(gettext "%s file (%s) does not exist.")" "$i" "$file"
return 1 return 1
fi fi
done done