summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2018-05-06 01:40:40 -0400
committerEli Schwartz <eschwartz@archlinux.org>2018-05-06 01:40:40 -0400
commit67670fe8b3d916cc6756f9c0940aa1504bc7fd15 (patch)
treedf35cefef77432e6348ee894984d149c142dfd8a /core
parent394abce7ee40eb9d1211ceb3a951eb9a350b399e (diff)
downloadpackages-67670fe8b3d916cc6756f9c0940aa1504bc7fd15.tar.xz
archlinux32-keyring*/: line 18: cd: too many arguments
This happens when you don't guard the cd wildcard with trailing / and suddenly start naming the download something which cooperates with a shared $SRCDEST. The solution is to not use wildcards...
Diffstat (limited to 'core')
-rw-r--r--core/archlinux32-keyring-transition/PKGBUILD2
-rw-r--r--core/archlinux32-keyring/PKGBUILD2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/archlinux32-keyring-transition/PKGBUILD b/core/archlinux32-keyring-transition/PKGBUILD
index 4af997de..bb306a55 100644
--- a/core/archlinux32-keyring-transition/PKGBUILD
+++ b/core/archlinux32-keyring-transition/PKGBUILD
@@ -15,6 +15,6 @@ sha512sums=('e1bb190ea3895ecff789eeb25b35758704d2528f46cf2861c7cd89250eca9396e22
validpgpkeys=('5FDCA472AB93292BC678FD59255A76DB9A12601A') # Erich Eckner (just to sign arch packages) <arch@eckner.net>
package() {
- cd "${srcdir}/${_pkgname}-"* # ${pkgver}"
+ cd "${srcdir}/${_pkgname}-v${pkgver}"
make PREFIX=/usr DESTDIR=${pkgdir} install
}
diff --git a/core/archlinux32-keyring/PKGBUILD b/core/archlinux32-keyring/PKGBUILD
index cafd18cd..82cc55a3 100644
--- a/core/archlinux32-keyring/PKGBUILD
+++ b/core/archlinux32-keyring/PKGBUILD
@@ -15,6 +15,6 @@ sha512sums=('e1bb190ea3895ecff789eeb25b35758704d2528f46cf2861c7cd89250eca9396e22
validpgpkeys=('5FDCA472AB93292BC678FD59255A76DB9A12601A') # Erich Eckner (just to sign arch packages) <arch@eckner.net>
package() {
- cd "${srcdir}/${pkgname}-"* # ${pkgver}"
+ cd "${srcdir}/${pkgname}-v${pkgver}"
make PREFIX=/usr DESTDIR=${pkgdir} install
}