1 # $1 corresponds to gsignond-<ver>.tar.gz
2 # $2 is the destination folder
3 # NOTE: all the files will be extracted under destination folder (instead of destfolder/gsignond-<version>)
5 if [ $# -ne 2 -o -z "$1" -o -z "$2" ]; then
6 echo "Invalid arguments supplied"
7 echo "Usage: ./prepare-tizen.sh <archive> <destination>"
8 echo "NOTE: All the files will be extracted under destfolder (instead of destfolder/gsignond-<version>)"
15 tar -xzvf $1 -C $2 --strip-components 1 && \