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