lib/gemsmith/templates/%gem_name%/bin/setup.tt in gemsmith-7.7.0 vs lib/gemsmith/templates/%gem_name%/bin/setup.tt in gemsmith-8.0.0
- old
+ new
@@ -1,5 +1,5 @@
-#! /bin/bash
+#! /usr/bin/env bash
set -o nounset # Exit, with error message, when attempting to use an undefined variable.
set -o errexit # Abort script at first error, when a command exits with non-zero status.
set -o pipefail # Return exit status of the last command in the pipe that returned a non-zero return value.
IFS=$'\n\t' # Defines newlines and tabs as delimiters for splitting words and iterating arrays.