From 85e4896db911f77f1223f080c540b8cbf133f873 Mon Sep 17 00:00:00 2001 From: Androbin Date: Wed, 8 Nov 2017 21:31:52 +0100 Subject: Improve shell scripts in third_party/ (#4052) Closes #4052. Change-Id: I30c4dc047195404a6ff63338ac4a944bb2755a1f --- third_party/ijar/test/ijar_test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'third_party/ijar') diff --git a/third_party/ijar/test/ijar_test.sh b/third_party/ijar/test/ijar_test.sh index 0b9a92fb2d..5279f15f84 100755 --- a/third_party/ijar/test/ijar_test.sh +++ b/third_party/ijar/test/ijar_test.sh @@ -41,7 +41,7 @@ shift source ${DIR}/testenv.sh || { echo "testenv.sh not found!" >&2; exit 1; } function cleanup() { - rm -fr "$TEST_TMPDIR"/* + rm -fr "${TEST_TMPDIR:-sentinel}"/* } trap cleanup EXIT -- cgit v1.2.3