summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason St. John <jstjohn@purdue.edu>2013-05-28 12:54:52 +0200
committerAllan McRae <allan@archlinux.org>2013-05-29 14:08:03 +1000
commit4fadcbfab2c8fbc78d7ca5d824b86ae0043d42fa (patch)
tree86e782e6e04146a71896e8b0ad4953b80efd5cda
parentdc08eca368de31b85e27063160e73b75b91bc58f (diff)
downloadpacman-4fadcbfab2c8fbc78d7ca5d824b86ae0043d42fa.tar.xz
Quote sources in PKGBUILD prototypes and example PKGBUILD
Signed-off-by: Jason St. John <jstjohn@purdue.edu> Signed-off-by: Allan McRae <allan@archlinux.org>
-rw-r--r--doc/PKGBUILD-example.txt2
-rw-r--r--proto/PKGBUILD-split.proto4
-rw-r--r--proto/PKGBUILD.proto4
3 files changed, 5 insertions, 5 deletions
diff --git a/doc/PKGBUILD-example.txt b/doc/PKGBUILD-example.txt
index 9ab5dff9..00dd8b13 100644
--- a/doc/PKGBUILD-example.txt
+++ b/doc/PKGBUILD-example.txt
@@ -9,7 +9,7 @@ url="https://www.gnu.org/software/patch/patch.html"
license=('GPL')
groups=('base-devel')
depends=('glibc' 'ed')
-source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz)
+source=("ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz")
md5sums=('ee5ae84d115f051d87fcaaef3b4ae782')
build() {
diff --git a/proto/PKGBUILD-split.proto b/proto/PKGBUILD-split.proto
index 672e7dfb..54e55579 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 d4c01b80..5b854ceb 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'