Skip to content

Commit

Permalink
coreutils: Fix bash syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexpux committed Oct 3, 2017
1 parent 8bccf0b commit b35eb1c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions coreutils/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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} \
Expand Down

0 comments on commit b35eb1c

Please sign in to comment.