strip first level of sqlite and python

This commit is contained in:
ducoterra
2019-04-16 17:26:22 -04:00
parent f4b9bdfb39
commit 8e0e693fcb

View File

@@ -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