[pacman-dev] [PATCH 10/10] makepkg: remove bash4-only parameter expansion in check_sanity
Allan McRae
allan at archlinux.org
Tue Jun 29 00:46:12 EDT 2010
On 26/06/10 09:16, Andres P wrote:
> Signed-off-by: Andres P<aepd87 at gmail.com>
> ---
> scripts/makepkg.sh.in | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
> index 59519a6..c770c7f 100644
> --- a/scripts/makepkg.sh.in
> +++ b/scripts/makepkg.sh.in
> @@ -1228,7 +1228,7 @@ check_sanity() {
> # evaluate any bash variables used
> eval file=${file}
> 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
> fi
> done
Signed-off-by: Allan.
On my working-maint branch.
More information about the pacman-dev
mailing list