jacinto6: sgx-bin: update sgx binaries and source for kernel 3.14
[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
 
   rm -rf $1/$2
 fi
 
+[ ! -d $1 ] && mkdir -p $1
 tar -C $1 -zxf $3
 tar -C $1 -zxf $3