]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android-sdk/device-ti-proprietary-open.git/blobdiff - untar.sh
jacinto6: sgx: add memtrack library
[android-sdk/device-ti-proprietary-open.git] / untar.sh
index 2e5b77ffff3807dc77e51bc564fb6c8e42d0d712..a7a0948f2d45d150b6de83cef26e928cdb06641d 100755 (executable)
--- a/untar.sh
+++ b/untar.sh
@@ -11,4 +11,5 @@ if [ -d $1/$2 ]; then
   rm -rf $1/$2
 fi
 
+[ ! -d $1 ] && mkdir -p $1
 tar -C $1 -zxf $3