From 67670fe8b3d916cc6756f9c0940aa1504bc7fd15 Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Sun, 6 May 2018 01:40:40 -0400 Subject: 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... --- core/archlinux32-keyring-transition/PKGBUILD | 2 +- core/archlinux32-keyring/PKGBUILD | 2 +- 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) 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) package() { - cd "${srcdir}/${pkgname}-"* # ${pkgver}" + cd "${srcdir}/${pkgname}-v${pkgver}" make PREFIX=/usr DESTDIR=${pkgdir} install } -- cgit v1.2.3-70-g09d2