mesos-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b...@apache.org
Subject svn commit: r1235531 - in /incubator/mesos/trunk: bin/ src/examples/java/ src/examples/python/
Date Tue, 24 Jan 2012 22:19:02 GMT
Author: benh
Date: Tue Jan 24 22:19:01 2012
New Revision: 1235531

URL: http://svn.apache.org/viewvc?rev=1235531&view=rev
Log:
Replaced all shell 'source' commands with '.' (fixes MESOS-132).

Modified:
    incubator/mesos/trunk/bin/gdb-mesos-local.sh.in
    incubator/mesos/trunk/bin/gdb-mesos-master.sh.in
    incubator/mesos/trunk/bin/gdb-mesos-slave.sh.in
    incubator/mesos/trunk/bin/mesos-local.sh.in
    incubator/mesos/trunk/bin/mesos-master.sh.in
    incubator/mesos/trunk/bin/mesos-slave.sh.in
    incubator/mesos/trunk/src/examples/java/test-exception-framework.in
    incubator/mesos/trunk/src/examples/java/test-executor.in
    incubator/mesos/trunk/src/examples/java/test-framework.in
    incubator/mesos/trunk/src/examples/java/test-multiple-executors-framework.in
    incubator/mesos/trunk/src/examples/python/test-executor.in
    incubator/mesos/trunk/src/examples/python/test-framework.in

Modified: incubator/mesos/trunk/bin/gdb-mesos-local.sh.in
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/bin/gdb-mesos-local.sh.in?rev=1235531&r1=1235530&r2=1235531&view=diff
==============================================================================
--- incubator/mesos/trunk/bin/gdb-mesos-local.sh.in (original)
+++ incubator/mesos/trunk/bin/gdb-mesos-local.sh.in Tue Jan 24 22:19:01 2012
@@ -20,7 +20,7 @@
 # installed that first sets up environment variables as appropriate.
 
 # Use colors for errors.
-source @abs_top_srcdir@/support/colors.sh
+. @abs_top_srcdir@/support/colors.sh
 
 OS=`uname`
 
@@ -40,7 +40,7 @@ if test $? != 0; then
   exit 1
 fi
 
-source @abs_top_builddir@/bin/mesos-build-env.sh
+. @abs_top_builddir@/bin/mesos-build-env.sh
 
 exec ${LIBTOOL} --mode=execute gdb --args \
   @abs_top_builddir@/src/mesos-local "${@}"

Modified: incubator/mesos/trunk/bin/gdb-mesos-master.sh.in
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/bin/gdb-mesos-master.sh.in?rev=1235531&r1=1235530&r2=1235531&view=diff
==============================================================================
--- incubator/mesos/trunk/bin/gdb-mesos-master.sh.in (original)
+++ incubator/mesos/trunk/bin/gdb-mesos-master.sh.in Tue Jan 24 22:19:01 2012
@@ -20,7 +20,7 @@
 # installed that first sets up environment variables as appropriate.
 
 # Use colors for errors.
-source @abs_top_srcdir@/support/colors.sh
+. @abs_top_srcdir@/support/colors.sh
 
 OS=`uname`
 
@@ -40,7 +40,7 @@ if test $? != 0; then
   exit 1
 fi
 
-source @abs_top_builddir@/bin/mesos-build-env.sh
+. @abs_top_builddir@/bin/mesos-build-env.sh
 
 exec ${LIBTOOL} --mode=execute gdb --args \
   @abs_top_builddir@/src/mesos-master "${@}"

Modified: incubator/mesos/trunk/bin/gdb-mesos-slave.sh.in
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/bin/gdb-mesos-slave.sh.in?rev=1235531&r1=1235530&r2=1235531&view=diff
==============================================================================
--- incubator/mesos/trunk/bin/gdb-mesos-slave.sh.in (original)
+++ incubator/mesos/trunk/bin/gdb-mesos-slave.sh.in Tue Jan 24 22:19:01 2012
@@ -20,7 +20,7 @@
 # installed that first sets up environment variables as appropriate.
 
 # Use colors for errors.
-source @abs_top_srcdir@/support/colors.sh
+. @abs_top_srcdir@/support/colors.sh
 
 OS=`uname`
 
@@ -40,7 +40,7 @@ if test $? != 0; then
   exit 1
 fi
 
-source @abs_top_builddir@/bin/mesos-build-env.sh
+. @abs_top_builddir@/bin/mesos-build-env.sh
 
 exec ${LIBTOOL} --mode=execute gdb --args \
   @abs_top_builddir@/src/mesos-slave "${@}"

Modified: incubator/mesos/trunk/bin/mesos-local.sh.in
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/bin/mesos-local.sh.in?rev=1235531&r1=1235530&r2=1235531&view=diff
==============================================================================
--- incubator/mesos/trunk/bin/mesos-local.sh.in (original)
+++ incubator/mesos/trunk/bin/mesos-local.sh.in Tue Jan 24 22:19:01 2012
@@ -19,6 +19,6 @@
 # This is a wrapper for running mesos-local before it is installed
 # that first sets up environment variables as appropriate.
 
-source @abs_top_builddir@/bin/mesos-build-env.sh
+. @abs_top_builddir@/bin/mesos-build-env.sh
 
 @abs_top_builddir@/src/mesos-local "${@}"

Modified: incubator/mesos/trunk/bin/mesos-master.sh.in
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/bin/mesos-master.sh.in?rev=1235531&r1=1235530&r2=1235531&view=diff
==============================================================================
--- incubator/mesos/trunk/bin/mesos-master.sh.in (original)
+++ incubator/mesos/trunk/bin/mesos-master.sh.in Tue Jan 24 22:19:01 2012
@@ -19,6 +19,6 @@
 # This is a wrapper for running mesos-master before it is installed
 # that first sets up environment variables as appropriate.
 
-source @abs_top_builddir@/bin/mesos-build-env.sh
+. @abs_top_builddir@/bin/mesos-build-env.sh
 
 exec @abs_top_builddir@/src/mesos-master "${@}"

Modified: incubator/mesos/trunk/bin/mesos-slave.sh.in
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/bin/mesos-slave.sh.in?rev=1235531&r1=1235530&r2=1235531&view=diff
==============================================================================
--- incubator/mesos/trunk/bin/mesos-slave.sh.in (original)
+++ incubator/mesos/trunk/bin/mesos-slave.sh.in Tue Jan 24 22:19:01 2012
@@ -19,6 +19,6 @@
 # This is a wrapper for running mesos-slave before it is installed
 # that first sets up environment variables as appropriate.
 
-source @abs_top_builddir@/bin/mesos-build-env.sh
+. @abs_top_builddir@/bin/mesos-build-env.sh
 
 @abs_top_builddir@/src/mesos-slave "${@}"

Modified: incubator/mesos/trunk/src/examples/java/test-exception-framework.in
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/src/examples/java/test-exception-framework.in?rev=1235531&r1=1235530&r2=1235531&view=diff
==============================================================================
--- incubator/mesos/trunk/src/examples/java/test-exception-framework.in (original)
+++ incubator/mesos/trunk/src/examples/java/test-exception-framework.in Tue Jan 24 22:19:01
2012
@@ -6,7 +6,7 @@ MESOS_SOURCE_DIR=@abs_top_srcdir@
 MESOS_BUILD_DIR=@abs_top_builddir@
 
 # Use colors for errors.
-source ${MESOS_SOURCE_DIR}/support/colors.sh
+. ${MESOS_SOURCE_DIR}/support/colors.sh
 
 PROTOBUF_JAR=${MESOS_BUILD_DIR}/protobuf.jar
 

Modified: incubator/mesos/trunk/src/examples/java/test-executor.in
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/src/examples/java/test-executor.in?rev=1235531&r1=1235530&r2=1235531&view=diff
==============================================================================
--- incubator/mesos/trunk/src/examples/java/test-executor.in (original)
+++ incubator/mesos/trunk/src/examples/java/test-executor.in Tue Jan 24 22:19:01 2012
@@ -6,7 +6,7 @@ MESOS_SOURCE_DIR=@abs_top_srcdir@
 MESOS_BUILD_DIR=@abs_top_builddir@
 
 # Use colors for errors.
-source ${MESOS_SOURCE_DIR}/support/colors.sh
+. ${MESOS_SOURCE_DIR}/support/colors.sh
 
 PROTOBUF_JAR=${MESOS_BUILD_DIR}/protobuf.jar
 

Modified: incubator/mesos/trunk/src/examples/java/test-framework.in
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/src/examples/java/test-framework.in?rev=1235531&r1=1235530&r2=1235531&view=diff
==============================================================================
--- incubator/mesos/trunk/src/examples/java/test-framework.in (original)
+++ incubator/mesos/trunk/src/examples/java/test-framework.in Tue Jan 24 22:19:01 2012
@@ -6,7 +6,7 @@ MESOS_SOURCE_DIR=@abs_top_srcdir@
 MESOS_BUILD_DIR=@abs_top_builddir@
 
 # Use colors for errors.
-source ${MESOS_SOURCE_DIR}/support/colors.sh
+. ${MESOS_SOURCE_DIR}/support/colors.sh
 
 PROTOBUF_JAR=${MESOS_BUILD_DIR}/protobuf.jar
 

Modified: incubator/mesos/trunk/src/examples/java/test-multiple-executors-framework.in
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/src/examples/java/test-multiple-executors-framework.in?rev=1235531&r1=1235530&r2=1235531&view=diff
==============================================================================
--- incubator/mesos/trunk/src/examples/java/test-multiple-executors-framework.in (original)
+++ incubator/mesos/trunk/src/examples/java/test-multiple-executors-framework.in Tue Jan 24
22:19:01 2012
@@ -6,7 +6,7 @@ MESOS_SOURCE_DIR=@abs_top_srcdir@
 MESOS_BUILD_DIR=@abs_top_builddir@
 
 # Use colors for errors.
-source ${MESOS_SOURCE_DIR}/support/colors.sh
+. ${MESOS_SOURCE_DIR}/support/colors.sh
 
 PROTOBUF_JAR=${MESOS_BUILD_DIR}/protobuf.jar
 

Modified: incubator/mesos/trunk/src/examples/python/test-executor.in
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/src/examples/python/test-executor.in?rev=1235531&r1=1235530&r2=1235531&view=diff
==============================================================================
--- incubator/mesos/trunk/src/examples/python/test-executor.in (original)
+++ incubator/mesos/trunk/src/examples/python/test-executor.in Tue Jan 24 22:19:01 2012
@@ -5,16 +5,15 @@
 MESOS_SOURCE_DIR=@abs_top_srcdir@
 MESOS_BUILD_DIR=@abs_top_builddir@
 
+# Use colors for errors.
+. ${MESOS_SOURCE_DIR}/support/colors.sh
+
 # Force the use of the Python interpreter configured during building.
 test ! -z "${PYTHON}" && \
   echo "${RED}Ignoring PYTHON environment variable (using @PYTHON@)${NORMAL}"
 
 PYTHON=@PYTHON@
 
-
-# Use colors for errors.
-source ${MESOS_SOURCE_DIR}/support/colors.sh
-
 PROTOBUF=${MESOS_BUILD_DIR}/third_party/protobuf-2.3.0
 PROTOBUF_EGG=`ls ${PROTOBUF}/python/dist/protobuf*.egg`
 

Modified: incubator/mesos/trunk/src/examples/python/test-framework.in
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/src/examples/python/test-framework.in?rev=1235531&r1=1235530&r2=1235531&view=diff
==============================================================================
--- incubator/mesos/trunk/src/examples/python/test-framework.in (original)
+++ incubator/mesos/trunk/src/examples/python/test-framework.in Tue Jan 24 22:19:01 2012
@@ -5,15 +5,15 @@
 MESOS_SOURCE_DIR=@abs_top_srcdir@
 MESOS_BUILD_DIR=@abs_top_builddir@
 
+# Use colors for errors.
+. ${MESOS_SOURCE_DIR}/support/colors.sh
+
 # Force the use of the Python interpreter configured during building.
 test ! -z "${PYTHON}" && \
   echo "${RED}Ignoring PYTHON environment variable (using @PYTHON@)${NORMAL}"
 
 PYTHON=@PYTHON@
 
-# Use colors for errors.
-source ${MESOS_SOURCE_DIR}/support/colors.sh
-
 PROTOBUF=${MESOS_BUILD_DIR}/third_party/protobuf-2.3.0
 PROTOBUF_EGG=`ls ${PROTOBUF}/python/dist/protobuf*.egg`
 



Mime
View raw message