if [[ ... ]] is bashism. I changed it to:
if [ -d "$_hgrepo" ]; then
and applied.
Thanks!
-nc
---
Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org
Help: alpine-devel+help@lists.alpinelinux.org
---
+ cd "$_hgrepo"+ hg pull -r 51 -u+ msg "The local files are updated."+ else+ hg clone -r 51 "$_hgroot" "$_hgrepo"+ fi+}++build() {+ cd "$_builddir"+ ./autogen.sh || return 1+ ./configure --prefix=/usr --with-dovecot=/usr/lib/dovecot || return 1+ sed -i -e 's/install -o/install -D -o/' -e 's|$(INSTALLDIR)/|$(INSTALLDIR)/$(LIBRARY_NAME)|' Makefile || return 1+ make || return 1+}++package() {+ cd "$_builddir"+ make DESTDIR="$pkgdir" install || return 1+}+
--
1.8.4.3
---
Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org
Help: alpine-devel+help@lists.alpinelinux.org
---