Fix: wrong path for configure
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Mon, 26 Jan 2015 21:17:24 +0000 (16:17 -0500)
committerJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Mon, 26 Jan 2015 21:17:24 +0000 (16:17 -0500)
lttng-ust/lttng-ust-master.sh

index cc441678bf9f9cd7247b918f59dab44a3f157c66..a1efae592c9215fec71d12804997d7e52db3705a 100755 (executable)
@@ -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
 
This page took 0.024184 seconds and 4 git commands to generate.