tinycbor: Remove .git after prepared for tizen 35/26235/2
authorPhilippe Coval <p.coval@samsung.com>
Thu, 14 Jun 2018 00:39:04 +0000 (02:39 +0200)
committerPhil Coval <p.coval@samsung.com>
Wed, 11 Jul 2018 21:26:57 +0000 (21:26 +0000)
Bug: https://jira.iotivity.org/browse/IOT-1745
Change-Id: I2d7c4cba8408c97f2c8eb959fb3c69473e9f117a
Origin: https://gerrit.iotivity.org/gerrit/#/c/26075/
Signed-off-by: Philippe Coval <p.coval@samsung.com>
(cherry picked from commit 17d3a5661a87c35af73bb0c979bad43ffa587ddd)

extlibs/tinycbor/prep.sh

index 2ad957c..92949ce 100755 (executable)
@@ -61,7 +61,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}"
         git reset --hard "${packageRevision}"
         cd -