X-Git-Url: https://git.grml.org/?p=grml-debootstrap.git;a=blobdiff_plain;f=grml-debootstrap;h=c31b5cd76d427d019a8835b5f9f4355c6c18d0f4;hp=d62cd2c2322ccc91734ead2de38943393377307f;hb=360e057dcc7b4275db1f5ad6ce66c4aa02a3d2d4;hpb=4d625ea05ba167d60766f86f2ff2edad2cfd561a diff --git a/grml-debootstrap b/grml-debootstrap index d62cd2c..c31b5cd 100755 --- a/grml-debootstrap +++ b/grml-debootstrap @@ -1155,6 +1155,12 @@ else ARCHCMD="--arch $ARCH" ARCHINFO=" (${ARCH})" fi + +if [ -z "${ARCH:-}" ] ; then + eerror 'Architecture neither set (environment variable ARCH), nor could be automatically identified (using dpkg).' + eerror 'Consider setting the --arch ... option.' ; eend 1 + bailout 1 +fi # }}} # It is not possible to build amd64 on i686. {{{