jacinto6: sgx-bin: update sgx binaries and source for kernel 3.14
[android-sdk/device-ti-proprietary-open.git] / untar.sh
index 8e5cc9fcedfbbf54cff5e524d4869138581a318c..a7a0948f2d45d150b6de83cef26e928cdb06641d 100755 (executable)
--- a/untar.sh
+++ b/untar.sh
@@ -11,5 +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
-find $1/$2 -type f -exec touch {} \;