Fix
[lttng-ci.git] / userspace-rcu / liburcu-master.sh
index 7bccb9e6a2ad7e645ce8f490b53afc433f087905..52fbba46d6a725450dab36a2d3afbeb017a3a89d 100755 (executable)
@@ -37,7 +37,8 @@ case "$build" in
                echo "Out of tree build"
                BUILD_PATH=$WORKSPACE/oot
                mkdir -p $BUILD_PATH
-               cd $BUILD_PATH$WORKSPACE/configure --prefix=$PREFIX $CONF_OPTS
+               cd $BUILD_PATH
+               $WORKSPACE/configure --prefix=$PREFIX $CONF_OPTS
                ;;
        dist)
                echo "Distribution out of tree build"
@@ -52,17 +53,18 @@ case "$build" in
                cd $BUILD_PATH
 
                # Ignore level 1 of tar
-               tar xvf *.tar.* --staticrip 1
+               tar xvf *.tar.* --strip 1
 
                $BUILD_PATH/configure --prefix=$PREFIX $CONF_OPTS
                ;;
        *)
-               echo "Standard tree build"
                BUILD_PATH=$WORKSPACE
-               $WORKSPACE/configure --prefix=$PREFIX $CONF_OPTS;;
+               echo "Standard tree build"
+               $WORKSPACE/configure --prefix=$PREFIX $CONF_OPTS
+               ;;
 esac
 
-make V=1
+make
 make install
 make clean
 
@@ -70,6 +72,7 @@ make clean
 find $WORKSPACE/build/lib -name "*.so" -exec chrpath --delete {} \;
 find $WORKSPACE/build/lib -name "*.la" -exec rm -f {} \;
 
-if [ $build = "dist" ] then
+# Cleanup temp directory of dist build
+if [ $build = "dist" ]; then
        rm -rf $BUILD_PATH
 fi
This page took 0.0237849999999999 seconds and 4 git commands to generate.