summaryrefslogtreecommitdiff
path: root/tools/prepare-tizen.sh
diff options
context:
space:
mode:
authorAmarnath Valluri <amarnath.valluri@linux.intel.com>2013-08-22 15:27:24 +0300
committerAmarnath Valluri <amarnath.valluri@linux.intel.com>2013-08-22 16:59:26 +0300
commit1fd618eee96db111f3eea0806eccb8cf2ad91106 (patch)
treea5536e388228a0a1e51ffe8a49e0fc007d0074da /tools/prepare-tizen.sh
parente9a79beef3cd891ac16bae05a28c91c613df6442 (diff)
downloadgsignond-1fd618eee96db111f3eea0806eccb8cf2ad91106.tar.gz
gsignond-1fd618eee96db111f3eea0806eccb8cf2ad91106.tar.bz2
gsignond-1fd618eee96db111f3eea0806eccb8cf2ad91106.zip
Diffstat (limited to 'tools/prepare-tizen.sh')
-rwxr-xr-xtools/prepare-tizen.sh11
1 files changed, 6 insertions, 5 deletions
diff --git a/tools/prepare-tizen.sh b/tools/prepare-tizen.sh
index d4329b2..7c4f4e2 100755
--- a/tools/prepare-tizen.sh
+++ b/tools/prepare-tizen.sh
@@ -9,14 +9,15 @@ if [ $# -ne 2 -o -z "$1" -o -z "$2" ]; then
exit
fi
-currdir = `pwd`;
+currdir=`pwd`;
echo "CURR dir = $currdir"
mkdir -p $2 && \
-tar -xzvf $1 -C $2 --strip-components 1 && \
cd $2 && \
+git rm -r * && \
+tar -xzvf $currdir/$1 -C $2 --strip-components 1 && \
mkdir -p packaging && \
cd packaging && \
-cp -f ../dists/rpm/gsignond-tizen.spec gsignond.spec &&
-cp -f ../dists/rpm/gsignond-tizen.changes gsignond.changes;
-
+cp -f ../dists/rpm/gsignond-tizen.spec gsignond.spec && \
+cp -f ../dists/rpm/gsignond-tizen.changes gsignond.changes && \
+cd .. && git add *;