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

Jason St. John jstjohn at purdue.edu
Mon May 27 12:09:51 EDT 2013


From: "Jason St. John" <jstjohn at purdue.edu>

---

Does this require further explanation?

 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