on xenial help sign in
patch debian/control file before using it to make it work with mk-build-deps

Approved by: Michał Sawicz

commitabcaf2fbe86a7b80cb109e3f5d081520d41707dd authorMichael Zanetti <michael.zanetti@canonical.com> dateTue 13 Jan 2015, 20:57 (12 years ago) parent8720ab7b9578d4
1 file changed+4−1
build.sh+4−1
build.sh+4−1
@@ -61,7 +61,10 @@ install_dependencies() {
6161}
6262
6363mk_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+ if [ ! -f control -o $CODE_DIR/debian/control -nt control ]; then
65+ sed 's/\:native//g' $CODE_DIR/debian/control > control
66+ mk-build-deps --install --root-cmd sudo control
67+ fi
6568}
6669
6770if [ -f "/usr/bin/ccache" ] ; then