use += operator to append to string
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Sat, 14 Feb 2015 14:55:44 +0000 (09:55 -0500)
committerJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Sat, 14 Feb 2015 14:55:44 +0000 (09:55 -0500)
lttng-tools/lttng-tools-master-test-joraj.sh

index 664e5acc463bd678acbeb3dc1bf38f832e5c1723..6bf6c63899979439053749794e4e41b1718c93a8 100755 (executable)
@@ -24,7 +24,7 @@ then
     export LDFLAGS="-L$URCU_LIBS"
     export LD_LIBRARY_PATH="$URCU_LIBS:$BABEL_LIBS:$LD_LIBRARY_PATH"
 else
-       CONF_OPTS=$CONF_OPTS" --with-lttng-ust-prefix="$UST_PREFIX
+       CONF_OPTS+=" --with-lttng-ust-prefix="$UST_PREFIX
     export CPPFLAGS="-I$URCU_INCS"
     export LDFLAGS="-L$URCU_LIBS"
     export LD_LIBRARY_PATH="$URCU_LIBS:$BABEL_LIBS:$LD_LIBRARY_PATH"
@@ -43,23 +43,23 @@ python_bindings)
     # We only support bindings built with Python 3
     export PYTHON="python3"
     export PYTHON_CONFIG="/usr/bin/python3-config"
-    CONF_OPTS=$CONF_OPTS" --enable-python-bindings"
+    CONF_OPTS+=" --enable-python-bindings"
     ;;
 no_ust)
     echo "Build without UST support"
-    CONF_OPTS=$CONF_OPTS" --disable-lttng-ust"
+    CONF_OPTS+=" --disable-lttng-ust"
     ;;
 java_jul)
     echo "Build with java-jul UST support"
-    CONF_OPTS=$CONF_OPTS" --enable-java-agent-tests-jul --with-java-classpath=$UST_PREFIX/share/java/\*"
+    CONF_OPTS+=" --enable-java-agent-tests-jul --with-java-classpath=$UST_PREFIX/share/java/\*"
        ;;
 java_log4j)
        echo "Build with java-log4j UST support"
-       CONF_OPTS=$CONF_OPTS" --enable-java-agent-tests-log4j --with-java-classpath=/usr/share/java/log4j-1.2.jar"
+       CONF_OPTS+=" --enable-java-agent-tests-log4j --with-java-classpath=/usr/share/java/log4j-1.2.jar"
        ;;
 *)
     echo "Standard build"
-    CONF_OPTS=$CONF_OPTS" "
+    CONF_OPTS+=" "
     ;;
 esac
 
This page took 0.023788 seconds and 4 git commands to generate.