Release 2.0.3
[profile/ivi/libgsignon-glib.git] / tools / prepare-tizen.sh
index fe45be4..d9195ea 100755 (executable)
@@ -13,10 +13,12 @@ currdir = `pwd`;
 echo "CURR dir = $currdir"
 
 mkdir -p $2 && \
-tar -xzvf $1 -C $2 --strip-components 1 && \
 cd $2 && \
+git rm -r * && \
+tar -xzvf $1 -C $2 --strip-components 1 && \
 mkdir -p packaging && \
 cd packaging && \
-cp -f ../dists/rpm/libgsignon-glib-tizen.spec libgsignon-glib.spec &&
-cp -f ../dists/rpm/libgsignon-glib-tizen.changes libgsignon-glib.changes;
+ln -s ../dists/rpm/libgsignon-glib-tizen.spec libgsignon-glib.spec && \
+ln -s ../dists/rpm/libgsignon-glib-tizen.changes libgsignon-glib.changes && \
+cd .. && git add *;