diff --git a/coreutils/PKGBUILD b/coreutils/PKGBUILD index e2882a98a73..c42296e14e0 100644 --- a/coreutils/PKGBUILD +++ b/coreutils/PKGBUILD @@ -28,19 +28,19 @@ sha256sums=('155e94d748f8e2bc327c66e0cbebdb8d6ab265d2f37c3c928f7bf6c3beba9a8e' prepare() { cd ${srcdir}/${pkgname}-${pkgver} - patch -p2 -i $srcdir/001-coreutils-8.26-2.src.patch - patch -p1 -i $srcdir/005-manifest.patch - patch -p1 -i $srcdir/006-msys1-0x0d.patch - patch -p1 -i $srcdir/008-msys2-src.patch - patch -p1 -i $srcdir/009-msysize.patch + patch -p2 -i ${srcdir}/001-coreutils-8.26-2.src.patch + patch -p1 -i ${srcdir}/005-manifest.patch + patch -p1 -i ${srcdir}/006-msys1-0x0d.patch + patch -p1 -i ${srcdir}/008-msys2-src.patch + patch -p1 -i ${srcdir}/009-msysize.patch autoreconf -fi sed -i -e 's|\(libstdbuf\.so\)$(EXEEXT)|\1|g' Makefile.in } build() { - [[ -d $srcdir/build-${CHOST} ]] && rm -rf $srcdir/build-${CHOST} - mkdir -p $srcdir/build-${CHOST} && cd $srcdir/build-${CHOST} + [[ -d ${srcdir}/build-${CHOST} ]] && rm -rf ${srcdir}/build-${CHOST} + mkdir -p ${srcdir}/build-${CHOST} && cd ${srcdir}/build-${CHOST} ../${pkgname}-${pkgver}/configure \ --build=${CHOST} \