summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJussi Laako <jussi.laako@linux.intel.com>2014-03-13 16:50:28 +0200
committerJussi Laako <jussi.laako@linux.intel.com>2014-03-13 16:50:28 +0200
commit4e1e391e1fd557502ad6852aae2958f632e1ebb1 (patch)
treec1ef1a172097550c93a664ed240df74595e962e0 /tools
parent1ebc64ba81eccb5a955bb9c00d60515b0a0ac266 (diff)
downloadgsignond-4e1e391e1fd557502ad6852aae2958f632e1ebb1.tar.gz
gsignond-4e1e391e1fd557502ad6852aae2958f632e1ebb1.tar.bz2
gsignond-4e1e391e1fd557502ad6852aae2958f632e1ebb1.zip
Change-Id: Ice9f1e744e23d8e65c75d03c2748b34e74a8829e
Diffstat (limited to 'tools')
-rwxr-xr-xtools/prepare-tizen.sh8
1 files changed, 2 insertions, 6 deletions
diff --git a/tools/prepare-tizen.sh b/tools/prepare-tizen.sh
index c94ad1c..1ff09e2 100755
--- a/tools/prepare-tizen.sh
+++ b/tools/prepare-tizen.sh
@@ -4,21 +4,17 @@
if [ $# -ne 2 -o -z "$1" -o -z "$2" ]; then
echo "Invalid arguments supplied"
- echo "Usage: ./prepare-tizen.sh gsignond-<version>.tar.gz destfolder"
+ echo "Usage: ./prepare-tizen.sh <archive> <destination>"
echo "NOTE: All the files will be extracted under destfolder (instead of destfolder/gsignond-<version>)"
exit
fi
-currdir=`pwd`;
-echo "CURR dir = $currdir"
-
mkdir -p $2 && \
cd $2 && \
git rm -r *; rm -rf packaging;
-tar -xzvf $currdir/$1 -C $2 --strip-components 1 && \
+tar -xzvf $1 -C $2 --strip-components 1 && \
mkdir -p packaging && \
cp -f dists/rpm/gsignond-tizen.spec packaging/gsignond.spec && \
cp -f dists/rpm/gsignond-tizen.changes packaging/gsignond.changes && \
cp -f dists/rpm/gsignond-tizen.manifest packaging/gsignond.manifest && \
-cp $currdir/.gitignore $2/ && \
git add -f *;