From 58d447bc4582a3a625598acdaaea92cc7d2891f9 Mon Sep 17 00:00:00 2001 From: Jonathan Rajotte Date: Mon, 26 Jan 2015 16:17:24 -0500 Subject: [PATCH] Fix: wrong path for configure --- lttng-ust/lttng-ust-master.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lttng-ust/lttng-ust-master.sh b/lttng-ust/lttng-ust-master.sh index cc44167..a1efae5 100755 --- a/lttng-ust/lttng-ust-master.sh +++ b/lttng-ust/lttng-ust-master.sh @@ -42,7 +42,8 @@ esac # dist: build via make dist # * : normal tree build # -# Make sure to move to the build_path before continuing +# Make sure to move to the build_path and configure +# before continuing BUILD_PATH=$WORKSPACE case "$build" in @@ -50,6 +51,7 @@ case "$build" in BUILD_PATH=$WORKSPACE/oot mkdir -p $BUILD_PATH cd $BUILD_PATH + $WORKSPACE/configure --prefix=$PREFIX $CONF_OPTS ;; dist) BUILD_PATH=/tmp/dist @@ -61,16 +63,17 @@ case "$build" in mkdir -p $BUILD_PATH cp *.tar.* $BUILD_PATH/ cd $BUILD_PATH + $BUILD_PATH/configure --prefix=$PREFIX $CONF_OPTS # Ignore level 1 of tar tar xvf *.tar.* --strip 1 ;; *) BUILD_PATH=$WORKSPACE + $WORKSPACE/configure --prefix=$PREFIX $CONF_OPTS ;; esac -$BUILD_PATH/configure --prefix=$PREFIX $CONF_OPTS make V=1 make install -- 2.34.1