tinycbor: Remove .git after prepared for tizen 75/26075/3
authorPhilippe Coval <p.coval@samsung.com>
Thu, 14 Jun 2018 00:39:04 +0000 (02:39 +0200)
committerPhil Coval <p.coval@samsung.com>
Mon, 9 Jul 2018 10:37:20 +0000 (10:37 +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>
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 -