Unverified Commit ff1ecf4f authored by Don Gagne's avatar Don Gagne Committed by GitHub

Merge pull request #6303 from DonLakeFlyer/TravisTarball

Simpler script
parents 4fcb0bed 99673865
#!/bin/bash -x #!/bin/bash -x
if [[ $# -eq 0 ]]; then if [ $# -ne 2 ]; then
echo 'MakeQtTravisTarball.sh QtDirectory QtFullVersion QtBaseVersion BuildType' echo 'MakeQtTravisTarball.sh QtDirectory BuildType'
exit 1 exit 1
fi fi
QT_DIRECTORY=$1 QT_DIRECTORY=$1
if [ ! -d ${QT_DIRECTORY} ]; then if [ ! -d ${QT_DIRECTORY} ]; then
echo 'Specify directory for Qt Directory.' echo 'Specify directory for Qt Directory to copy from.'
exit 1 exit 1
fi fi
QT_FULL_VERSION=$2 QT_FULL_VERSION=5.9.3
if [ ! -d ${QT_DIRECTORY}/${QT_FULL_VERSION} ]; then QT_BASE_VERSION=5.9
echo 'Qt version directory not found'
exit 1
fi
QT_BASE_VERSION=$3
QT_BUILD_TYPE=$4 QT_BUILD_TYPE=$2
if [ ! -d ${QT_DIRECTORY}/${QT_FULL_VERSION}/${QT_BUILD_TYPE} ]; then if [ ! -d ${QT_DIRECTORY}/${QT_FULL_VERSION}/${QT_BUILD_TYPE} ]; then
echo 'Qt build type directory not found' echo 'Qt build type directory not found. Specify example: clang_62'
exit 1 exit 1
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment