Commit 0adf83fa authored by Pierre Schmitz's avatar Pierre Schmitz
Browse files

Don't try to guess users architecture

parent ecc3fcf8
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -33,11 +33,6 @@ while getopts 'cr:' arg; do
	esac
done

if [ "$(uname -m)" == 'i686' -a "${arch}" != 'i686' ]; then
	echo 'You can only build i686 packages on this system'
	exit 1
fi

if ${clean_first} || [ ! -d "${chroots}/${repo}-${arch}" ]; then
	echo "Creating chroot for [${repo}] (${arch})..."
	sudo rm -rf ${chroots}/${repo}-${arch}