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