diff options
author | Jussi Laako <jussi.laako@linux.intel.com> | 2014-03-13 16:50:28 +0200 |
---|---|---|
committer | Jussi Laako <jussi.laako@linux.intel.com> | 2014-03-13 16:50:28 +0200 |
commit | 4e1e391e1fd557502ad6852aae2958f632e1ebb1 (patch) | |
tree | c1ef1a172097550c93a664ed240df74595e962e0 /tools | |
parent | 1ebc64ba81eccb5a955bb9c00d60515b0a0ac266 (diff) | |
download | gsignond-4e1e391e1fd557502ad6852aae2958f632e1ebb1.tar.gz gsignond-4e1e391e1fd557502ad6852aae2958f632e1ebb1.tar.bz2 gsignond-4e1e391e1fd557502ad6852aae2958f632e1ebb1.zip |
Refresh 1.0.1 upstream releasesubmit/tizen_ivi_release/20140315.035348submit/tizen/20140313.150427accepted/tizen/ivi/release/20140315.035940accepted/tizen/ivi/panda/20140318.013823accepted/tizen/ivi/20140313.165628tizen_ivi_releaseaccepted/tizen_ivi_release
Change-Id: Ice9f1e744e23d8e65c75d03c2748b34e74a8829e
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/prepare-tizen.sh | 8 |
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 *; |