git » mariadb.git » commit 4dad4c4

use $pkgbase in find

author Christian Hesse
2024-02-21 10:54:46 UTC
committer Christian Hesse
2024-02-21 10:57:13 UTC
parent a8199270cb30e00cafab0b6223fe3dd2de84ef21

use $pkgbase in find

PKGBUILD +1 -1

diff --git a/PKGBUILD b/PKGBUILD
index a48032c..070cc21 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -216,7 +216,7 @@ package_mariadb() {
   rm usr/lib/mysql/plugin/{auth_gssapi_client,caching_sha2_password,client_ed25519,dialog,mysql_clear_password,sha256_password,zstd}.so
 
   # provided by mariadb-clients
-  for bin in $(find "${pkgdir}"/../mariadb-clients/usr/bin/ ! -type d); do
+  for bin in $(find "${pkgdir}/../${pkgbase}-clients/usr/bin/" ! -type d); do
     rm "${pkgdir}"/usr/bin/"$(basename "${bin}")" "${pkgdir}"/usr/share/man/man1/"$(basename "${bin}")".1
   done