Advertisement
Guest User

Untitled

a guest
Apr 11th, 2012
37
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.   if [ -z "${MAIN_ARCHITECTURE:-}" ] ; then
  2.     if [ "$(dpkg-architecture -qDEB_HOST_ARCH)" = "${architecture:-}" ] ; then
  3.       echo "*** MAIN_ARCHITECTURE is unset. ***"
  4.       return 0
  5.     else
  6.       echo "*** MAIN_ARCHITECTURE is unset. ***"
  7.       echo "*** Host architecture does not match \$architecture,  setting binary only build and continuing with identify_build_type ***"
  8.       DEBBUILDOPTS="-B"
  9.     fi
  10.   else
  11.     if [ "${MAIN_ARCHITECTURE:-}" = "${architecture:-}" ] ;then
  12.       echo "*** MAIN_ARCHITECTURE matches architecture [${architecture}], default ${DEBBUILDOPTS} buildoption ***"
  13.       return 0
  14.     else
  15.       echo "*** MAIN_ARCHITECTURE does not match ${architecture:-}, setting binary only build and continuing with identify_build_type ***"
  16.       DEBBUILDOPTS="-B"
  17.     fi
  18.   fi
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement