projects
/
lttng-ci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a3c2d81
)
Set all shell script to exit on unsuccessful exit code
author
Michael Jeanson
<mjeanson@efficios.com>
Wed, 26 Aug 2015 16:12:06 +0000
(12:12 -0400)
committer
Michael Jeanson
<mjeanson@efficios.com>
Wed, 26 Aug 2015 16:12:06 +0000
(12:12 -0400)
14 files changed:
scripts/babeltrace/build.sh
patch
|
blob
|
blame
|
history
scripts/babeltrace/pylint.sh
patch
|
blob
|
blame
|
history
scripts/babeltrace/scan-build.sh
patch
|
blob
|
blame
|
history
scripts/kernel/build.sh
patch
|
blob
|
blame
|
history
scripts/liburcu/build.sh
patch
|
blob
|
blame
|
history
scripts/liburcu/scan-build.sh
patch
|
blob
|
blame
|
history
scripts/lttng-modules/build.sh
patch
|
blob
|
blame
|
history
scripts/packaging/el7/add-efficios-repo.sh
patch
|
blob
|
blame
|
history
scripts/packaging/el7/install-lttng-packages.sh
patch
|
blob
|
blame
|
history
scripts/packaging/sles12/add-efficios-repo.sh
patch
|
blob
|
blame
|
history
scripts/packaging/sles12/install-lttng-packages.sh
patch
|
blob
|
blame
|
history
scripts/packaging/systemd-enable-and-start-relayd.sh
patch
|
blob
|
blame
|
history
scripts/packaging/systemd-enable-and-start-sessiond.sh
patch
|
blob
|
blame
|
history
scripts/packaging/test-run.sh
patch
|
blob
|
blame
|
history
diff --git
a/scripts/babeltrace/build.sh
b/scripts/babeltrace/build.sh
index e9f06b1073a6eb6b68f0905a0ed6bb3af5b9810a..b9dc04111365e131ae44c175ddee08d7a448395b 100755
(executable)
--- a/
scripts/babeltrace/build.sh
+++ b/
scripts/babeltrace/build.sh
@@
-1,4
+1,4
@@
-#!/bin/sh
+#!/bin/sh
-exu
#
# Copyright (C) 2015 - Jonathan Rajotte-Julien <jonathan.rajotte-julien@efficios.com>
#
#
# Copyright (C) 2015 - Jonathan Rajotte-Julien <jonathan.rajotte-julien@efficios.com>
#
diff --git
a/scripts/babeltrace/pylint.sh
b/scripts/babeltrace/pylint.sh
index 0971938529e72233540c260cc43040a6ceddfe3d..7c310294a8bc5617b945b7c1c67e90701bbaaa1d 100644
(file)
--- a/
scripts/babeltrace/pylint.sh
+++ b/
scripts/babeltrace/pylint.sh
@@
-1,4
+1,4
@@
-#!/bin/sh
+#!/bin/sh
-exu
#
# Copyright (C) 2015 - Michael Jeanson <mjeanson@efficios.com>
#
#
# Copyright (C) 2015 - Michael Jeanson <mjeanson@efficios.com>
#
diff --git
a/scripts/babeltrace/scan-build.sh
b/scripts/babeltrace/scan-build.sh
index ed80c0e2b442cfcf69a2efa91621eb565c5dd85f..e67305a49e9daccfef821e08e4ac505f62bf613f 100644
(file)
--- a/
scripts/babeltrace/scan-build.sh
+++ b/
scripts/babeltrace/scan-build.sh
@@
-1,4
+1,4
@@
-#!/bin/sh
+#!/bin/sh
-exu
#
# Copyright (C) 2015 - Jonathan Rajotte-Julien <jonathan.rajotte-julien@efficios.com>
#
#
# Copyright (C) 2015 - Jonathan Rajotte-Julien <jonathan.rajotte-julien@efficios.com>
#
diff --git
a/scripts/kernel/build.sh
b/scripts/kernel/build.sh
index ad96d89a3011e5b52a8857d3a0aa2226cb9442a1..11f1af13fdacbc8ed69615a992e9554c7288ebbf 100644
(file)
--- a/
scripts/kernel/build.sh
+++ b/
scripts/kernel/build.sh
@@
-1,4
+1,4
@@
-#!/bin/sh
+#!/bin/sh
-exu
#
# Copyright (C) 2015 - Jonathan Rajotte-Julien <jonathan.rajotte-julien@efficios.com>
# Michael Jeanson <mjeanson@efficios.com>
#
# Copyright (C) 2015 - Jonathan Rajotte-Julien <jonathan.rajotte-julien@efficios.com>
# Michael Jeanson <mjeanson@efficios.com>
@@
-16,9
+16,6
@@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-# Exit with error when using an undefined variable
-set -u
-
#Check if ccache is present
#if [ -d /usr/lib/ccache ]; then
# echo "Using CCACHE"
#Check if ccache is present
#if [ -d /usr/lib/ccache ]; then
# echo "Using CCACHE"
diff --git
a/scripts/liburcu/build.sh
b/scripts/liburcu/build.sh
index 472dc28a9f091f85a49d6942bec38c2eac0fdd14..042cdf5151688489170b212ecf95f15835aee556 100755
(executable)
--- a/
scripts/liburcu/build.sh
+++ b/
scripts/liburcu/build.sh
@@
-1,4
+1,4
@@
-#!/bin/sh
+#!/bin/sh
-exu
#
# Copyright (C) 2015 - Jonathan Rajotte-Julien <jonathan.rajotte-julien@efficios.com>
#
#
# Copyright (C) 2015 - Jonathan Rajotte-Julien <jonathan.rajotte-julien@efficios.com>
#
diff --git
a/scripts/liburcu/scan-build.sh
b/scripts/liburcu/scan-build.sh
index ed80c0e2b442cfcf69a2efa91621eb565c5dd85f..e67305a49e9daccfef821e08e4ac505f62bf613f 100755
(executable)
--- a/
scripts/liburcu/scan-build.sh
+++ b/
scripts/liburcu/scan-build.sh
@@
-1,4
+1,4
@@
-#!/bin/sh
+#!/bin/sh
-exu
#
# Copyright (C) 2015 - Jonathan Rajotte-Julien <jonathan.rajotte-julien@efficios.com>
#
#
# Copyright (C) 2015 - Jonathan Rajotte-Julien <jonathan.rajotte-julien@efficios.com>
#
diff --git
a/scripts/lttng-modules/build.sh
b/scripts/lttng-modules/build.sh
index 517884a73c260e58593ac03f8d55cdd8b7f4dd52..4f356b9b71d245239b47de17a12e8a202dea4d91 100755
(executable)
--- a/
scripts/lttng-modules/build.sh
+++ b/
scripts/lttng-modules/build.sh
@@
-1,4
+1,4
@@
-#!/bin/sh
+#!/bin/sh
-exu
#
# Copyright (C) 2015 - Jonathan Rajotte-Julien <jonathan.rajotte-julien@efficios.com>
# Michael Jeanson <mjeanson@efficios.com>
#
# Copyright (C) 2015 - Jonathan Rajotte-Julien <jonathan.rajotte-julien@efficios.com>
# Michael Jeanson <mjeanson@efficios.com>
@@
-16,9
+16,6
@@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-# Exit with error when using an undefined variable
-set -u
-
# Use all CPU cores
NPROC=$(nproc)
# Use all CPU cores
NPROC=$(nproc)
diff --git
a/scripts/packaging/el7/add-efficios-repo.sh
b/scripts/packaging/el7/add-efficios-repo.sh
index a7c57f119a344906a8c6a686d749f747f2c7f32d..d4eaf2029030fae34acb84552f21f0b755aedb95 100755
(executable)
--- a/
scripts/packaging/el7/add-efficios-repo.sh
+++ b/
scripts/packaging/el7/add-efficios-repo.sh
@@
-1,4
+1,4
@@
-#/bin/sh
+#/bin/sh
-exu
yum -y install wget
yum -y install wget
diff --git
a/scripts/packaging/el7/install-lttng-packages.sh
b/scripts/packaging/el7/install-lttng-packages.sh
index e269a271b8ac832bc9b1b60f713ec9586155ac66..61a9b685edcf1d4a00dce8aa4cac761e4a2af289 100755
(executable)
--- a/
scripts/packaging/el7/install-lttng-packages.sh
+++ b/
scripts/packaging/el7/install-lttng-packages.sh
@@
-1,4
+1,4
@@
-#!/bin/sh
+#!/bin/sh
-exu
yum install -y kmod-lttng-modules lttng-tools babeltrace
yum install -y kmod-lttng-modules lttng-tools babeltrace
diff --git
a/scripts/packaging/sles12/add-efficios-repo.sh
b/scripts/packaging/sles12/add-efficios-repo.sh
index b56f0dea871ca5fa8c882d09b562ff7110d021dd..5949b890a1916540073be80af319c87c8b602b83 100755
(executable)
--- a/
scripts/packaging/sles12/add-efficios-repo.sh
+++ b/
scripts/packaging/sles12/add-efficios-repo.sh
@@
-1,4
+1,4
@@
-#/bin/sh
+#/bin/sh
-exu
zypper --non-interactive addrepo https://packages.efficios.com/repo.files/EfficiOS-SLE12-x86-64.repo
zypper --non-interactive addrepo https://packages.efficios.com/repo.files/EfficiOS-SLE12-x86-64.repo
diff --git
a/scripts/packaging/sles12/install-lttng-packages.sh
b/scripts/packaging/sles12/install-lttng-packages.sh
index 41eac1916a0ee1b3d8a6f087f0f2978a484f7ff7..12ae5add77f73dbb016a2d8df3c40a8bb3c0f6c7 100755
(executable)
--- a/
scripts/packaging/sles12/install-lttng-packages.sh
+++ b/
scripts/packaging/sles12/install-lttng-packages.sh
@@
-1,4
+1,4
@@
-#!/bin/sh
+#!/bin/sh
-exu
zypper --non-interactive install lttng-modules-kmp-default lttng-tools babeltrace
zypper --non-interactive install lttng-modules-kmp-default lttng-tools babeltrace
diff --git
a/scripts/packaging/systemd-enable-and-start-relayd.sh
b/scripts/packaging/systemd-enable-and-start-relayd.sh
index 045f52ec044817d178308a974fb395bd4be17782..344bb53c175fad65cfca1369f5f4c0ee503becd2 100755
(executable)
--- a/
scripts/packaging/systemd-enable-and-start-relayd.sh
+++ b/
scripts/packaging/systemd-enable-and-start-relayd.sh
@@
-1,4
+1,4
@@
-#!/bin/sh
+#!/bin/sh
-exu
systemctl enable lttng-relayd
systemctl enable lttng-relayd
diff --git
a/scripts/packaging/systemd-enable-and-start-sessiond.sh
b/scripts/packaging/systemd-enable-and-start-sessiond.sh
index c1f2eb704ad0e2fc55668b9e4c1e214e92be9845..3b56bccda698270005f2d9984ee6f13a70607e40 100755
(executable)
--- a/
scripts/packaging/systemd-enable-and-start-sessiond.sh
+++ b/
scripts/packaging/systemd-enable-and-start-sessiond.sh
@@
-1,4
+1,4
@@
-#!/bin/sh
+#!/bin/sh
-exu
systemctl enable lttng-sessiond
systemctl enable lttng-sessiond
diff --git
a/scripts/packaging/test-run.sh
b/scripts/packaging/test-run.sh
index 751b0e2aa353035599aa285b9f44e7ca7ec37009..c4b98898546d8700bf4a3d2eb009a3a8e63ac32d 100755
(executable)
--- a/
scripts/packaging/test-run.sh
+++ b/
scripts/packaging/test-run.sh
@@
-1,4
+1,4
@@
-#!/bin/sh
+#!/bin/sh
-exu
lttng create
lttng enable-event -a -k
lttng create
lttng enable-event -a -k
This page took
0.027593 seconds
and
4
git commands to generate.