mirror of
https://github.com/valitydev/yamerl.git
synced 2024-11-06 10:55:16 +00:00
Use "set -e" instead of "#!/bin/sh -e"
This permits to always set "-e", event if executed with an explicit shell (for instance, "/bin/sh cover_to_html.sh").
This commit is contained in:
parent
608d7f7559
commit
cb3de9a16c
@ -1,4 +1,4 @@
|
||||
#!/bin/sh -e
|
||||
#!/bin/sh
|
||||
#-
|
||||
# Copyright (c) 2012 Yakaz
|
||||
# All rights reserved.
|
||||
@ -24,6 +24,8 @@
|
||||
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
# SUCH DAMAGE.
|
||||
|
||||
set -e
|
||||
|
||||
dir=@srcdir@/data/benchmark
|
||||
count=500
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/bin/sh -e
|
||||
#!/bin/sh
|
||||
#-
|
||||
# Copyright (c) 2012 Yakaz
|
||||
# All rights reserved.
|
||||
@ -24,6 +24,8 @@
|
||||
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
# SUCH DAMAGE.
|
||||
|
||||
set -e
|
||||
|
||||
if [ -z "$1" ]; then
|
||||
echo "Syntax: $0 <test_name> [<test_name> ...]"
|
||||
exit 1
|
||||
|
Loading…
Reference in New Issue
Block a user