mbedtls: remove .git after prepared for tizen 85/26385/2
authorPhilippe Coval <p.coval@samsung.com>
Thu, 14 Jun 2018 07:21:37 +0000 (09:21 +0200)
committerPhil Coval <p.coval@samsung.com>
Wed, 25 Jul 2018 06:16:26 +0000 (06:16 +0000)
Change-Id: Ifff1cb0c043d3ea089bfef5e1568c57edfa86c89
Origin: https://gerrit.iotivity.org/gerrit/#/c/25835/
Signed-off-by: Philippe Coval <p.coval@samsung.com>
(cherry picked from commit 5ae3ade733f273da06c86b0260d67dadec06703f)

extlibs/mbedtls/prep.sh

index c08364c..12cd2d8 100755 (executable)
@@ -57,7 +57,8 @@ For more support please refer to:
 https://wiki.iotivity.org/build
 EOF
         exit 2
-    elif [ -d "${packageDir}/.git" ]; then
+    fi
+    if [ -d "${packageDir}/.git" ]; then
         cd "${packageDir}" || exit 1
         git clean -f -d -x
         git reset --hard "${packageRevision}"