osmith submitted this change.
1 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted one.
buildsystem/gen_links: move set -e to users
Make it more obvious that the various gen_links.sh scripts are running
with "set -e" by adding it to the #! line instead of setting it through
an included file.
Change-Id: I4caf445bef716161526a213d6a06ecc9d30f78cb
---
M SCCP_Test/gen_links.sh
M _buildsystem/gen_links.inc.sh
M asterisk/gen_links.sh
M bsc-nat/gen_links.sh
M bsc/gen_links.sh
M bts/gen_links.sh
M cbc/gen_links.sh
M ccid/gen_links.sh
M dia2gsup/gen_links.sh
M eim/gen_links.sh
M epdg/gen_links.sh
M fr-net/gen_links.sh
M fr/gen_links.sh
M gbproxy/gen_links.sh
M ggsn_tests/gen_links.sh
M hlr/gen_links.sh
M hnbgw/gen_links.sh
M hnodeb/gen_links.sh
M hss/gen_links.sh
M ipad/gen_links.sh
M mgw/gen_links.sh
M mme/gen_links.sh
M msc/gen_links.sh
M ns/gen_links.sh
M pcap-client/gen_links.sh
M pcrf/gen_links.sh
M pcu/gen_links.sh
M pgw/gen_links.sh
M remsim/gen_links.sh
M s1gw/gen_links.sh
M sccp/gen_links.sh
M selftest/gen_links.sh
M sgsn/gen_links.sh
M simtrace/gen_links.sh
M sip/gen_links.sh
M smlc/gen_links.sh
M stp/gen_links.sh
M sysinfo/gen_links.sh
M upf/gen_links.sh
39 files changed, 38 insertions(+), 40 deletions(-)
diff --git a/SCCP_Test/gen_links.sh b/SCCP_Test/gen_links.sh
index 7bae850..f6b5591 100755
--- a/SCCP_Test/gen_links.sh
+++ b/SCCP_Test/gen_links.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/bash -e
BASEDIR=../deps
diff --git a/_buildsystem/gen_links.inc.sh b/_buildsystem/gen_links.inc.sh
index f134427..c21bcd6 100644
--- a/_buildsystem/gen_links.inc.sh
+++ b/_buildsystem/gen_links.inc.sh
@@ -16,8 +16,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-set -e
-
rm -f .gitignore
gen_link() {
diff --git a/asterisk/gen_links.sh b/asterisk/gen_links.sh
index afd6a8d..f61052e 100755
--- a/asterisk/gen_links.sh
+++ b/asterisk/gen_links.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/bash -e
BASEDIR=../deps
diff --git a/bsc-nat/gen_links.sh b/bsc-nat/gen_links.sh
index aa9fb54..8e0f9c1 100755
--- a/bsc-nat/gen_links.sh
+++ b/bsc-nat/gen_links.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/bash -e
BASEDIR=../deps
diff --git a/bsc/gen_links.sh b/bsc/gen_links.sh
index 30bfba7..e6ff0fd 100755
--- a/bsc/gen_links.sh
+++ b/bsc/gen_links.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/bash -e
BASEDIR=../deps
diff --git a/bts/gen_links.sh b/bts/gen_links.sh
index 1f16334..4e952d2 100755
--- a/bts/gen_links.sh
+++ b/bts/gen_links.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/bash -e
BASEDIR=../deps
diff --git a/cbc/gen_links.sh b/cbc/gen_links.sh
index 314de12..9e7e2d0 100755
--- a/cbc/gen_links.sh
+++ b/cbc/gen_links.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/bash -e
BASEDIR=../deps
diff --git a/ccid/gen_links.sh b/ccid/gen_links.sh
index 99698e6..a0ffc87 100755
--- a/ccid/gen_links.sh
+++ b/ccid/gen_links.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/bash -e
BASEDIR=../deps
diff --git a/dia2gsup/gen_links.sh b/dia2gsup/gen_links.sh
index eb65263..a159862 100755
--- a/dia2gsup/gen_links.sh
+++ b/dia2gsup/gen_links.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/bash -e
BASEDIR=../deps
diff --git a/eim/gen_links.sh b/eim/gen_links.sh
index 2e73c7c..48f2129 100755
--- a/eim/gen_links.sh
+++ b/eim/gen_links.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/bash -e
BASEDIR=../deps
diff --git a/epdg/gen_links.sh b/epdg/gen_links.sh
index abc0287..9eeb691 100755
--- a/epdg/gen_links.sh
+++ b/epdg/gen_links.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/bash -e
BASEDIR=../deps
diff --git a/fr-net/gen_links.sh b/fr-net/gen_links.sh
index 71370e2..ce84938 100755
--- a/fr-net/gen_links.sh
+++ b/fr-net/gen_links.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/bash -e
BASEDIR=../deps
diff --git a/fr/gen_links.sh b/fr/gen_links.sh
index 71370e2..ce84938 100755
--- a/fr/gen_links.sh
+++ b/fr/gen_links.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/bash -e
BASEDIR=../deps
diff --git a/gbproxy/gen_links.sh b/gbproxy/gen_links.sh
index 7320c57..25a5f59 100755
--- a/gbproxy/gen_links.sh
+++ b/gbproxy/gen_links.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/bash -e
BASEDIR=../deps
diff --git a/ggsn_tests/gen_links.sh b/ggsn_tests/gen_links.sh
index 9aad2d7..18b5113 100755
--- a/ggsn_tests/gen_links.sh
+++ b/ggsn_tests/gen_links.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/bash -e
BASEDIR=../deps
diff --git a/hlr/gen_links.sh b/hlr/gen_links.sh
index 3326e96..e7697fb 100755
--- a/hlr/gen_links.sh
+++ b/hlr/gen_links.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/bash -e
BASEDIR=../deps
diff --git a/hnbgw/gen_links.sh b/hnbgw/gen_links.sh
index f0c81fe..1c1b1b5 100755
--- a/hnbgw/gen_links.sh
+++ b/hnbgw/gen_links.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/bash -e
BASEDIR=../deps
diff --git a/hnodeb/gen_links.sh b/hnodeb/gen_links.sh
index 86e1299..dcb5379 100755
--- a/hnodeb/gen_links.sh
+++ b/hnodeb/gen_links.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/bash -e
BASEDIR=../deps
diff --git a/hss/gen_links.sh b/hss/gen_links.sh
index 63ec5e3..74a9db8 100755
--- a/hss/gen_links.sh
+++ b/hss/gen_links.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/bash -e
BASEDIR=../deps
diff --git a/ipad/gen_links.sh b/ipad/gen_links.sh
index 73901de..8daadaf 100755
--- a/ipad/gen_links.sh
+++ b/ipad/gen_links.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/bash -e
BASEDIR=../deps
diff --git a/mgw/gen_links.sh b/mgw/gen_links.sh
index 571c2cb..69d61fc 100755
--- a/mgw/gen_links.sh
+++ b/mgw/gen_links.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/bash -e
BASEDIR=../deps
diff --git a/mme/gen_links.sh b/mme/gen_links.sh
index b5c6db6..3f0b63a 100755
--- a/mme/gen_links.sh
+++ b/mme/gen_links.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/bash -e
BASEDIR=../deps
diff --git a/msc/gen_links.sh b/msc/gen_links.sh
index c1478c2..92e979c 100755
--- a/msc/gen_links.sh
+++ b/msc/gen_links.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/bash -e
BASEDIR=../deps
diff --git a/ns/gen_links.sh b/ns/gen_links.sh
index 16cf2e4..a726824 100755
--- a/ns/gen_links.sh
+++ b/ns/gen_links.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/bash -e
BASEDIR=../deps
diff --git a/pcap-client/gen_links.sh b/pcap-client/gen_links.sh
index 6423df8..82c5f99 100755
--- a/pcap-client/gen_links.sh
+++ b/pcap-client/gen_links.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/bash -e
BASEDIR=../deps
diff --git a/pcrf/gen_links.sh b/pcrf/gen_links.sh
index 7001432..1e708e4 100755
--- a/pcrf/gen_links.sh
+++ b/pcrf/gen_links.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/bash -e
BASEDIR=../deps
diff --git a/pcu/gen_links.sh b/pcu/gen_links.sh
index bf4d7f3..dea0ed6 100755
--- a/pcu/gen_links.sh
+++ b/pcu/gen_links.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/bash -e
BASEDIR=../deps
diff --git a/pgw/gen_links.sh b/pgw/gen_links.sh
index 45114a5..9da4406 100755
--- a/pgw/gen_links.sh
+++ b/pgw/gen_links.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/bash -e
BASEDIR=../deps
diff --git a/remsim/gen_links.sh b/remsim/gen_links.sh
index 992ed8e..1ceab7b 100755
--- a/remsim/gen_links.sh
+++ b/remsim/gen_links.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/bash -e
BASEDIR=../deps
diff --git a/s1gw/gen_links.sh b/s1gw/gen_links.sh
index 0f7d8ed..ab85bee 100755
--- a/s1gw/gen_links.sh
+++ b/s1gw/gen_links.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/bash -e
BASEDIR=../deps
diff --git a/sccp/gen_links.sh b/sccp/gen_links.sh
index fb30488..55f171b 100755
--- a/sccp/gen_links.sh
+++ b/sccp/gen_links.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/bash -e
BASEDIR=../deps
diff --git a/selftest/gen_links.sh b/selftest/gen_links.sh
index d1307ac..249baf3 100755
--- a/selftest/gen_links.sh
+++ b/selftest/gen_links.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/bash -e
BASEDIR=../deps
diff --git a/sgsn/gen_links.sh b/sgsn/gen_links.sh
index 54e5fe1..23fcb83 100755
--- a/sgsn/gen_links.sh
+++ b/sgsn/gen_links.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/bash -e
BASEDIR=../deps
diff --git a/simtrace/gen_links.sh b/simtrace/gen_links.sh
index fa588fc..63be15e 100755
--- a/simtrace/gen_links.sh
+++ b/simtrace/gen_links.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/bash -e
BASEDIR=../deps
diff --git a/sip/gen_links.sh b/sip/gen_links.sh
index 85d441a..99536cf 100755
--- a/sip/gen_links.sh
+++ b/sip/gen_links.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/bash -e
BASEDIR=../deps
diff --git a/smlc/gen_links.sh b/smlc/gen_links.sh
index a4e8e3f..0626a53 100755
--- a/smlc/gen_links.sh
+++ b/smlc/gen_links.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/bash -e
BASEDIR=../deps
diff --git a/stp/gen_links.sh b/stp/gen_links.sh
index 519b450..17000ed 100755
--- a/stp/gen_links.sh
+++ b/stp/gen_links.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/bash -e
BASEDIR=../deps
diff --git a/sysinfo/gen_links.sh b/sysinfo/gen_links.sh
index 01e69eb..12d6615 100755
--- a/sysinfo/gen_links.sh
+++ b/sysinfo/gen_links.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/bash -e
BASEDIR=../deps
diff --git a/upf/gen_links.sh b/upf/gen_links.sh
index 5ca92be..62e8c56 100755
--- a/upf/gen_links.sh
+++ b/upf/gen_links.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/bash -e
BASEDIR=../deps
To view, visit change 40030. To unsubscribe, or for help writing mail filters, visit settings.