[arch-commits] Commit in glibc/trunk (PKGBUILD)
Frederik Schwan
freswa at gemini.archlinux.org
Thu Aug 11 16:25:51 UTC 2022
Date: Thursday, August 11, 2022 @ 16:25:51
Author: freswa
Revision: 452573
improve quotation of $srcdir
Modified:
glibc/trunk/PKGBUILD
----------+
PKGBUILD | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-08-11 16:24:48 UTC (rev 452572)
+++ PKGBUILD 2022-08-11 16:25:51 UTC (rev 452573)
@@ -123,9 +123,9 @@
# Credits for skip_test() and check() @allanmcrae
# https://github.com/allanmcrae/toolchain/blob/f18604d70c5933c31b51a320978711e4e6791cf1/glibc/PKGBUILD
skip_test() {
- test=$1
- file=$2
- sed -i "s/\b$test\b//" $srcdir/glibc/$file
+ test=${1}
+ file=${2}
+ sed -i "s/\b${test}\b//" "${srcdir}"/glibc/${file}
}
check() {
More information about the arch-commits
mailing list