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

Konstantin Gizdov kgizdov at archlinux.org
Fri May 3 13:50:08 UTC 2019


    Date: Friday, May 3, 2019 @ 13:50:06
  Author: kgizdov
Revision: 458679

implementation agnostic null chars

Modified:
  python-pytorch/trunk/PKGBUILD

----------+
 PKGBUILD |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-05-03 13:49:07 UTC (rev 458678)
+++ PKGBUILD	2019-05-03 13:50:06 UTC (rev 458679)
@@ -88,7 +88,7 @@
   # python module is hardcoded to look there at runtime
   ln -s /usr/bin "${pkgdir}/${pytorchpath}/bin"
   ln -s /usr/include "${pkgdir}/${pytorchpath}/include"
-  find "${pkgdir}"/usr/lib/pytorch -type f -name "*.so*" -print0 | while read -rd '' _lib; do
+  find "${pkgdir}"/usr/lib/pytorch -type f -name "*.so*" -print0 | while read -rd $'\0' _lib; do
     ln -s ${_lib#"$pkgdir"} "${pkgdir}/${pytorchpath}/lib/"
   done
   # ldconfig
@@ -125,7 +125,7 @@
   # python module is hardcoded to look there at runtime
   ln -s /usr/bin "${pkgdir}/${pytorchpath}/bin"
   ln -s /usr/include "${pkgdir}/${pytorchpath}/include"
-  find "${pkgdir}"/usr/lib/pytorch -type f -name "*.so*" -print0 | while read -rd '' _lib; do
+  find "${pkgdir}"/usr/lib/pytorch -type f -name "*.so*" -print0 | while read -rd $'\0' _lib; do
     ln -s ${_lib#"$pkgdir"} "${pkgdir}/${pytorchpath}/lib/"
   done
   # ldconfig



More information about the arch-commits mailing list