mbedtls: remove .git after prepared for tizen 35/25835/5
authorPhilippe Coval <p.coval@samsung.com>
Thu, 14 Jun 2018 07:21:37 +0000 (09:21 +0200)
committerMats Wichmann <mats@linux.com>
Wed, 27 Jun 2018 20:44:11 +0000 (20:44 +0000)
Change-Id: Ifff1cb0c043d3ea089bfef5e1568c57edfa86c89
Origin: https://gerrit.iotivity.org/gerrit/#/c/25835/
Signed-off-by: Philippe Coval <p.coval@samsung.com>
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}"