From e72411ed59c25391dbc4d5f7af595e25900ae7a4 Mon Sep 17 00:00:00 2001 From: Luis Gonzalez Date: Fri, 1 Jun 2012 13:46:34 -0500 Subject: SGX prebuilt binaries: Untar to and copy from intermediate directories. This will untar SGX prebuilt binaries to an intermediate directory and install them in the Android filesystem without polluting the git tree with untracked files. Change-Id: I806a9aa4a939b6109399df999603706e3c34f17e --- untar.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'untar.sh') diff --git a/untar.sh b/untar.sh index 2e5b77f..a7a0948 100755 --- 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 -- cgit v1.2.3-54-g00ecf