diff options
author | Daiki Ueno <ueno@gnu.org> | 2020-09-23 09:09:45 +0200 |
---|---|---|
committer | Daiki Ueno <ueno@gnu.org> | 2020-09-25 10:53:34 +0200 |
commit | 1fff6592f0ca98d0ea7799f92c12f66eae5b569c (patch) | |
tree | f82d6792b32c0a071d97d80faab8ce7027feefc4 /tests/cipher-listings.sh | |
parent | 1925d9bfe3bcd59109e0bfbb8651081f86fa413c (diff) | |
download | gnutls-1fff6592f0ca98d0ea7799f92c12f66eae5b569c.tar.gz |
tests: use ": ${FOO=BAR}" syntax for default handling in shell scripts
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Diffstat (limited to 'tests/cipher-listings.sh')
-rwxr-xr-x | tests/cipher-listings.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/cipher-listings.sh b/tests/cipher-listings.sh index f11b01babb..768f5cfe63 100755 --- a/tests/cipher-listings.sh +++ b/tests/cipher-listings.sh @@ -20,10 +20,10 @@ # along with GnuTLS; if not, write to the Free Software Foundation, # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -srcdir="${srcdir:-.}" -CLI="${CLI:-../src/gnutls-cli${EXEEXT}}" -DIFF="${DIFF:-diff -b -B}" -SED="${SED:-sed}" +: ${srcdir=.} +: ${CLI=../src/gnutls-cli${EXEEXT}} +: ${DIFF=diff -b -B} +: ${SED=sed} unset RETCODE TMPFILE=cipher-listings.$$.tmp |