diff options
Diffstat (limited to 'tools/prepare-tizen.sh')
-rwxr-xr-x | tools/prepare-tizen.sh | 11 |
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 *; |