X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=scripts%2Fbabeltrace%2Fbuild.sh;h=18532cbd1f1699bb1f4c826c515f9780b2c76393;hb=8f5416789ef38902575e864a18964a1dc6324c6b;hp=4dc939d1b1637f12c501e672ab737b4e79974455;hpb=944a6c86f6eab1c0b3d65c2f3f771764851baf05;p=lttng-ci.git diff --git a/scripts/babeltrace/build.sh b/scripts/babeltrace/build.sh index 4dc939d..18532cb 100755 --- a/scripts/babeltrace/build.sh +++ b/scripts/babeltrace/build.sh @@ -16,6 +16,11 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . +# Required parameters +arch=${arch:-} +conf=${conf:-} +build=${build:-} + SRCDIR="$WORKSPACE/src/babeltrace" TMPDIR="$WORKSPACE/tmp" @@ -109,7 +114,7 @@ case "$build" in dist) echo "Distribution out of tree build" - BUILD_PATH="`mktemp -d`" + BUILD_PATH="$(mktemp -d)" # Initial configure and generate tarball MAKE=$MAKE BISON="$BISON" YACC="$YACC" "$SRCDIR/configure" @@ -138,7 +143,7 @@ case "$build" in esac # BUILD! -$MAKE -j `$NPROC` V=1 +$MAKE -j "$($NPROC)" V=1 $MAKE install # Run tests