summaryrefslogtreecommitdiff
path: root/tools
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
parente9a79beef3cd891ac16bae05a28c91c613df6442 (diff)
downloadgsignond-1fd618eee96db111f3eea0806eccb8cf2ad91106.tar.gz
gsignond-1fd618eee96db111f3eea0806eccb8cf2ad91106.tar.bz2
gsignond-1fd618eee96db111f3eea0806eccb8cf2ad91106.zip
Diffstat (limited to 'tools')
-rwxr-xr-xtools/archive.sh6
-rwxr-xr-xtools/prepare-tizen.sh11
-rwxr-xr-xtools/run-tests.sh1
-rwxr-xr-xtools/setup-and-start-daemon.sh1
4 files changed, 9 insertions, 10 deletions
diff --git a/tools/archive.sh b/tools/archive.sh
index b28d24f..8d053c5 100755
--- a/tools/archive.sh
+++ b/tools/archive.sh
@@ -1,6 +1,6 @@
#!/bin/sh
#
-git archive --format=tar --prefix=gsignond-0.0.0/ -o ../gsignond-0.0.0.tar daemon
-bzip2 ../gsignond-0.0.0.tar
-mv ../gsignond-0.0.0.tar.bz2 ~/rpmbuild/SOURCES/
+git archive --format=tar --prefix=gsignond-0.0.2/ -o ../gsignond-0.0.2.tar daemon
+bzip2 ../gsignond-0.0.2.tar
+mv ../gsignond-0.0.2.tar.bz2 ~/rpmbuild/SOURCES/
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 *;
diff --git a/tools/run-tests.sh b/tools/run-tests.sh
index 0d271d4..6ed0257 100755
--- a/tools/run-tests.sh
+++ b/tools/run-tests.sh
@@ -1,7 +1,6 @@
#Environment variables for the tests
export G_MESSAGES_DEBUG=all
export SSO_STORAGE_PATH=/tmp/gsignond
-export SSO_SECRET_PATH=/tmp/gsignond
rm -rf "$SSO_STORAGE_PATH"
diff --git a/tools/setup-and-start-daemon.sh b/tools/setup-and-start-daemon.sh
index a7ecd8b..62dc071 100755
--- a/tools/setup-and-start-daemon.sh
+++ b/tools/setup-and-start-daemon.sh
@@ -16,7 +16,6 @@ fi
killall gsignond
-export SSO_SECRET_PATH="/tmp/gsignond"
export SSO_STORAGE_PATH="/tmp/gsignond"
if [ -f "$SRC_HOME/test/daemon/.libs/lt-daemontest" ] ; then
export SSO_KEYCHAIN_SYSCTX="$SRC_HOME/test/daemon/.libs/lt-daemontest"