From 0d2f68e65f762a8f2462b179a62c1fb3712a6b86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Valim?= Date: Sat, 2 Feb 2019 00:05:51 +0100 Subject: Shellcheck bin/elixirc too --- bin/elixirc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/elixirc b/bin/elixirc index 9bad4380b..e40c9928c 100755 --- a/bin/elixirc +++ b/bin/elixirc @@ -1,6 +1,8 @@ #!/bin/sh +set -e + if [ $# -eq 0 ] || [ "$1" = "--help" ] || [ "$1" = "-h" ]; then - echo "Usage: $(basename $0) [elixir switches] [compiler switches] [.ex files] + echo "Usage: $(basename "$0") [elixir switches] [compiler switches] [.ex files] -h, --help Prints this message and exits -o The directory to output compiled files -- cgit v1.2.1