on xenial help sign in
change it a bit
commit169e95bf807ad8bf01f4664550a8744195bdaf10 authorMichael Zanetti <michael.zanetti@canonical.com> dateMon 12 Jan 2015, 12:29 (12 years ago) parent4efdf41
1 file changed+4−4
build.sh+4−4
build.sh+4−4
@@ -61,10 +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 ] \
65− && cp $CODE_DIR/debian/control . \
66− && sed -i 's/\:native//g' control \
67− && mk-build-deps --install --root-cmd sudo control
64+ if [ ! -f unity8-build-deps*deb -o $CODE_DIR/debian/control -nt unity8-build-deps*deb ]; then
65+ sed 's/\:native//g' $CODE_DIR/debian/control > control
66+ mk-build-deps --install --root-cmd sudo control
67+ fi
6868}
6969
7070if [ -f "/usr/bin/ccache" ] ; then