Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if [ -z "${MAIN_ARCHITECTURE:-}" ] ; then
- if [ "$(dpkg-architecture -qDEB_HOST_ARCH)" = "${architecture:-}" ] ; then
- echo "*** MAIN_ARCHITECTURE is unset. ***"
- return 0
- else
- echo "*** MAIN_ARCHITECTURE is unset. ***"
- echo "*** Host architecture does not match \$architecture, setting binary only build and continuing with identify_build_type ***"
- DEBBUILDOPTS="-B"
- fi
- else
- if [ "${MAIN_ARCHITECTURE:-}" = "${architecture:-}" ] ;then
- echo "*** MAIN_ARCHITECTURE matches architecture [${architecture}], default ${DEBBUILDOPTS} buildoption ***"
- return 0
- else
- echo "*** MAIN_ARCHITECTURE does not match ${architecture:-}, setting binary only build and continuing with identify_build_type ***"
- DEBBUILDOPTS="-B"
- fi
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement