lxc: lxc-void: try to fix empty XBPS_ARCH.

This commit is contained in:
Juan RP 2014-08-07 22:10:50 +02:00
parent 213261db33
commit f80993040e
2 changed files with 3 additions and 3 deletions

View File

@ -104,9 +104,9 @@ install_void() {
hostname=$3 hostname=$3
arch=$4 arch=$4
[ "${arch}" != "$(uname -m)" ] && different_arch=true [ "${arch}" != "$(uname -m)" ] && different_arch=1
if [ "${different_arch}" = "true" ]; then if [ -n "${different_arch}" ]; then
export XBPS_ARCH=${arch} export XBPS_ARCH=${arch}
fi fi

View File

@ -3,7 +3,7 @@ _desc="Linux Containers"
pkgname=lxc pkgname=lxc
version=1.0.5 version=1.0.5
revision=5 revision=6
build_style=gnu-configure build_style=gnu-configure
configure_args="--enable-doc --enable-seccomp --disable-apparmor --with-distro=none configure_args="--enable-doc --enable-seccomp --disable-apparmor --with-distro=none
--with-rootfs-path=/var/lxc/containers --with-log-path=/var/lxc/log" --with-rootfs-path=/var/lxc/containers --with-log-path=/var/lxc/log"