codemod --extensions sh '#!/usr/bin/env bash -e' '#!/usr/bin/env bash\nset -e'
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env bash -e
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
|
||||
here=$(dirname "$0")
|
||||
# shellcheck source=net/common.sh
|
||||
@ -380,7 +381,8 @@ EOF
|
||||
|
||||
declare startupScript="$netConfigDir"/instance-startup-script.sh
|
||||
cat > "$startupScript" <<EOF
|
||||
#!/usr/bin/env bash -ex
|
||||
#!/usr/bin/env bash
|
||||
set -ex
|
||||
# autogenerated at $(date)
|
||||
|
||||
cat > /etc/motd <<EOM
|
||||
|
Reference in New Issue
Block a user