[pacman-dev] [PATCH] Quote sources in PKGBUILD prototypes

Allan McRae allan at archlinux.org
Mon May 27 21:24:07 EDT 2013


On 28/05/13 02:09, Jason St. John wrote:
> From: "Jason St. John" <jstjohn at purdue.edu>
> 
> ---
> 
> Does this require further explanation?
> 

I'm fine with this.   Adjust the patch to fix PKGBUILD-example.txt too
and I will pull.

Thanks,
Allan

>  proto/PKGBUILD-split.proto | 4 ++--
>  proto/PKGBUILD.proto       | 4 ++--
>  2 files changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/proto/PKGBUILD-split.proto b/proto/PKGBUILD-split.proto
> index 672e7df..54e5557 100644
> --- a/proto/PKGBUILD-split.proto
> +++ b/proto/PKGBUILD-split.proto
> @@ -24,8 +24,8 @@ backup=()
>  options=()
>  install=
>  changelog=
> -source=($pkgbase-$pkgver.tar.gz
> -        $pkgname-$pkgver.patch)
> +source=("$pkgbase-$pkgver.tar.gz"
> +        "$pkgname-$pkgver.patch")
>  noextract=()
>  md5sums=() #generate with 'makepkg -g'
> 
> diff --git a/proto/PKGBUILD.proto b/proto/PKGBUILD.proto
> index d4c01b8..5b854ce 100644
> --- a/proto/PKGBUILD.proto
> +++ b/proto/PKGBUILD.proto
> @@ -24,8 +24,8 @@ backup=()
>  options=()
>  install=
>  changelog=
> -source=($pkgname-$pkgver.tar.gz
> -        $pkgname-$pkgver.patch)
> +source=("$pkgname-$pkgver.tar.gz"
> +        "$pkgname-$pkgver.patch")
>  noextract=()
>  md5sums=() #generate with 'makepkg -g'
> 
> --
> 1.8.3
> 
> 
> 
> 



More information about the pacman-dev mailing list