untar is made to upstream branch and tizen specific changes stay in tizen branch...
authorImran Zaman <imran.zaman@intel.com>
Wed, 2 Jul 2014 10:06:14 +0000 (13:06 +0300)
committerImran Zaman <imran.zaman@intel.com>
Wed, 2 Jul 2014 10:06:14 +0000 (13:06 +0300)
tools/prepare-tizen.sh

index f1fa04ea811f0a026003a4d186e926688227a219..cac9fee7b7577ce70928dc3c8196d87947bba876 100755 (executable)
@@ -4,16 +4,13 @@
 
 if [ $# -ne 2 -o -z "$1" -o -z "$2" ]; then
     echo "Invalid arguments supplied"
-    echo "Usage: ./prepare-tizen.sh <arcive> <destination>"
+    echo "Usage: ./prepare-tizen.sh <archive> <destination>"
     echo "NOTE: All the files will be extracted under destfolder (instead of destfolder/libgsignon-glib-<version>)"
     exit
 fi
 
 mkdir -p $2 && \
 cd $2 && \
-git rm -f -r *; rm -rf packaging;
+git rm -f -r *;
 tar -xzvf $1 -C $2 --strip-components 1 && \
-mkdir -p packaging && \
-cp -f dists/rpm/libgsignon-glib-tizen.spec packaging/libgsignon-glib.spec && \
-cp -f dists/rpm/libgsignon-glib-tizen.changes packaging/libgsignon-glib.changes && \
 git add -f *;