From 8e0e693fcb55c959530e0eb67f9339707e4d10d1 Mon Sep 17 00:00:00 2001 From: ducoterra Date: Tue, 16 Apr 2019 17:26:22 -0400 Subject: [PATCH] strip first level of sqlite and python --- install.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index ecfc793..e1e9175 100755 --- a/install.sh +++ b/install.sh @@ -50,7 +50,8 @@ if [ $? -ne 0 ] ; then exit 1 fi -tar xf sqlite.tar.gz -C sqlite 1>> $pylogloc 2>> $pylogloc 3>> $pylogloc +mkdir sqlite +tar xf sqlite.tar.gz -C sqlite --strip-components=1 1>> $pylogloc 2>> $pylogloc 3>> $pylogloc if [ $? -ne 0 ] ; then echo -e "Failed to unzip sqlite. $pylogmsg" exit 1 @@ -99,7 +100,8 @@ if [ $? -ne 0 ] ; then exit 1 fi -tar xf python.tar.gz -C python 1>> $pylogloc 2>> $pylogloc 3>> $pylogloc +mkdir python +tar xf python.tar.gz -C python --strip-components=1 1>> $pylogloc 2>> $pylogloc 3>> $pylogloc if [ $? -ne 0 ] ; then echo -e "Failed to unzip python. $pylogmsg" exit 1