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/cert-tests/x509-duplicate-ext | |
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/cert-tests/x509-duplicate-ext')
-rwxr-xr-x | tests/cert-tests/x509-duplicate-ext | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/cert-tests/x509-duplicate-ext b/tests/cert-tests/x509-duplicate-ext index 534a534a69..0cfa7e1673 100755 --- a/tests/cert-tests/x509-duplicate-ext +++ b/tests/cert-tests/x509-duplicate-ext @@ -17,8 +17,8 @@ # You should have received a copy of the GNU Lesser General Public License # along with this program. If not, see <https://www.gnu.org/licenses/> -srcdir="${srcdir:-.}" -CERTTOOL="${CERTTOOL:-../../src/certtool${EXEEXT}}" +: ${srcdir=.} +: ${CERTTOOL=../../src/certtool${EXEEXT}} OUTFILE=out.$$.tmp if ! test -x "${CERTTOOL}"; then |