Skip to content
Snippets Groups Projects
Verified Commit efd22c58 authored by Karel Koci's avatar Karel Koci :metal:
Browse files

Use set -e instead of argument

This is better idea as having #!/bin/bash -e is fragile. Anyone can run
this script with bash -x file and that way unintentionally disable -e
flag.
parent 0b3172c5
Branches
Tags
1 merge request!6New repository format
#!/bin/bash -e
#!/bin/bash
# Updater-ng configuration lists generating script
# (C) 2018 CZ.NIC, z.s.p.o.
#
......@@ -14,6 +14,7 @@
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
set -e
output_path=
fallback=
......
#!/bin/bash -e
#!/bin/bash
# Turris medkit generator script
# (C) 2018 CZ.NIC, z.s.p.o.
#
......@@ -14,6 +14,7 @@
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
set -e
export BOARD=
export BRANCH=
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment