aboutsummaryrefslogtreecommitdiff
path: root/tools/addon-sdk-1.7/bin/integration-scripts/buildbot-run-cfx-helper
diff options
context:
space:
mode:
Diffstat (limited to 'tools/addon-sdk-1.7/bin/integration-scripts/buildbot-run-cfx-helper')
-rwxr-xr-xtools/addon-sdk-1.7/bin/integration-scripts/buildbot-run-cfx-helper14
1 files changed, 14 insertions, 0 deletions
diff --git a/tools/addon-sdk-1.7/bin/integration-scripts/buildbot-run-cfx-helper b/tools/addon-sdk-1.7/bin/integration-scripts/buildbot-run-cfx-helper
new file mode 100755
index 0000000..56c76ad
--- /dev/null
+++ b/tools/addon-sdk-1.7/bin/integration-scripts/buildbot-run-cfx-helper
@@ -0,0 +1,14 @@
+#!/bin/bash
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+
+source ./bin/activate
+if [ type -P xvfb-run ]
+then
+ xvfb-run cfx $*
+else
+ cfx $*
+fi
+deactivate