Use Bash for release scripts using non-POSIX features
A script using "declare -a" can't use /bin/sh as it's non-POSIX and not supported by e.g. Dash which is /bin/sh on Debian systems.
This commit is contained in:
parent
45c33d2a17
commit
2fc4b76cf0
@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
|
||||
# Exit immediately if a command exits with a non-zero status.
|
||||
set -e
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
|
||||
# build a list of English locales
|
||||
declare -a locale_list=("en_GB" "en_US")
|
||||
|
Loading…
Reference in New Issue
Block a user