on xenial help sign in
patch debian/control file before using it to make it work with mk-build-deps
4efdf41Michael Zanetti
build.sh+4−1
@@ -61,7 +61,10 @@ install_dependencies() {
61}
61}
62
62
63mk_build_deps() {
63mk_build_deps() {
64− [ ! -f unity8-build-deps*deb -o $CODE_DIR/debian/control -nt unity8-build-deps*deb ] && mk-build-deps --install --root-cmd sudo $CODE_DIR/debian/control
64+ [ ! -f unity8-build-deps*deb -o $CODE_DIR/debian/control -nt unity8-build-deps*deb ] \
65+ && cp $CODE_DIR/debian/control . \
66+ && sed -i 's/\:native//g' control \
67+ && mk-build-deps --install --root-cmd sudo control
65}
68}
66
69
67if [ -f "/usr/bin/ccache" ] ; then
70if [ -f "/usr/bin/ccache" ] ; then