[arch-commits] Commit in cuda/trunk (PKGBUILD)

Konstantin Gizdov kgizdov at archlinux.org
Mon Apr 22 00:39:04 UTC 2019


    Date: Monday, April 22, 2019 @ 00:38:58
  Author: kgizdov
Revision: 452852

make sure to split on null chars

Modified:
  cuda/trunk/PKGBUILD

----------+
 PKGBUILD |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-04-21 19:27:30 UTC (rev 452851)
+++ PKGBUILD	2019-04-22 00:38:58 UTC (rev 452852)
@@ -55,7 +55,7 @@
   # Best we can do is copy those libs to *.so.10.1 variants, patchelf the SONAME and hope for the best.
   # Their installer used to perform this for us but now it's all manual and I think this is what we'll be stuck with for now.
   cd "${pkgdir}/opt/cuda/targets/x86_64-linux/lib"
-  find "${pkgdir}"/opt/cuda/targets/x86_64-linux/lib -type l -name "*.so.10" ! -path "*stubs/*" -print0 | while read -rd '' _lib; do
+  find "${pkgdir}"/opt/cuda/targets/x86_64-linux/lib -type l -name "*.so.10" ! -path "*stubs/*" -print0 | while read -rd $'\0' _lib; do
     _current_soname=$(basename ${_lib})
     if [ ! -f "${_current_soname}.1" ]; then
       echo "copying ${_current_soname} to ${_current_soname}.1 version"
@@ -80,4 +80,3 @@
 }
 
 # vim:set ts=2 sw=2 et:
-



More information about the arch-commits mailing list