projects
/
platform
/
upstream
/
gsignond.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c631ef3
)
Removes the stale files if deleted from the git repo
author
Imran Zaman
<imran.zaman@linux.intel.com>
Mon, 24 Jun 2013 13:52:51 +0000
(16:52 +0300)
committer
Imran Zaman
<imran.zaman@linux.intel.com>
Mon, 24 Jun 2013 13:52:51 +0000
(16:52 +0300)
tools/prepare-tizen.sh
patch
|
blob
|
history
diff --git
a/tools/prepare-tizen.sh
b/tools/prepare-tizen.sh
index
d4329b2
..
d1f397a
100755
(executable)
--- a/
tools/prepare-tizen.sh
+++ b/
tools/prepare-tizen.sh
@@
-13,10
+13,11
@@
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/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 *;