From 6ebd57fbefb2f2b0dda476d95b9c7719f0992d07 Mon Sep 17 00:00:00 2001 From: john Date: Fri, 30 Nov 2018 15:40:07 +0800 Subject: [PATCH] remove possible '//' to '/' on TMPDIR --- find-unused-function.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/find-unused-function.sh b/find-unused-function.sh index 271c3e6..ec96bbd 100644 --- a/find-unused-function.sh +++ b/find-unused-function.sh @@ -28,6 +28,8 @@ fi TMPDIR="${2}/DebugSymbol" + # replace possible '//' with '/' + TMPDIR=${TMPDIR//\/\//\/} if [[ ! -d "${TMPDIR}" ]] ; then