Fixed Codacy errors 2.

This commit is contained in:
Gonzalo Exequiel Pedone 2021-05-25 17:26:10 -03:00
parent 84e639fd49
commit 8341fa0067
No known key found for this signature in database
GPG key ID: B8B09E63E9B85BAF
2 changed files with 9 additions and 9 deletions

View file

@ -33,7 +33,7 @@ fi
if [ "${TRAVIS_OS_NAME}" = linux ]; then
# Download chroot image
archImage=archlinux-bootstrap-${ARCH_ROOT_DATE}-x86_64.tar.gz
${DOWNLOAD_CMD} ${ARCH_ROOT_URL}/iso/${ARCH_ROOT_DATE}/$archImage
${DOWNLOAD_CMD} "${ARCH_ROOT_URL}/iso/${ARCH_ROOT_DATE}/$archImage"
sudo tar xzf "$archImage"
# Configure mirrors
@ -129,12 +129,12 @@ elif [ "${TRAVIS_OS_NAME}" = osx ]; then
${DOWNLOAD_CMD} "http://download.qt.io/official_releases/qt-installer-framework/${QTIFWVER}/${qtIFW}" || true
if [ -e "${qtIFW}" ]; then
hdiutil convert ${qtIFW} -format UDZO -o qtifw
hdiutil convert "${qtIFW}" -format UDZO -o qtifw
7z x -oqtifw qtifw.dmg -bb
7z x -oqtifw qtifw/5.hfsx -bb
chmod +x qtifw/QtInstallerFramework-macOS-x86_64-${QTIFWVER}/QtInstallerFramework-macOS-x86_64-${QTIFWVER}.app/Contents/MacOS/QtInstallerFramework-macOS-x86_64-${QTIFWVER}
qtifw/QtInstallerFramework-macOS-x86_64-${QTIFWVER}/QtInstallerFramework-macOS-x86_64-${QTIFWVER}.app/Contents/MacOS/QtInstallerFramework-macOS-x86_64-${QTIFWVER} \
installer=qtifw/QtInstallerFramework-macOS-x86_64-${QTIFWVER}/QtInstallerFramework-macOS-x86_64-${QTIFWVER}.app/Contents/MacOS/QtInstallerFramework-macOS-x86_64-${QTIFWVER}
chmod +x "${installer}"
${installer} \
--verbose \
--accept-licenses \
--accept-messages \

View file

@ -56,11 +56,11 @@ if [[ ! -z "$DAILY_BUILD" || ! -z "$RELEASE_BUILD" ]]; then
./jfrog bt upload \
--user=hipersayanx \
--key=$BT_KEY \
--key="$BT_KEY" \
--override=true \
--publish=$publish \
--publish="$publish" \
"$f" \
webcamoid/webcamoid/akvirtualcamera/$version \
"webcamoid/webcamoid/akvirtualcamera/$version" \
"$folder/"
done
@ -78,7 +78,7 @@ if [[ ! -z "$DAILY_BUILD" || ! -z "$RELEASE_BUILD" ]]; then
cd "${TRAVIS_BUILD_DIR}"
${DOWNLOAD_CMD} "https://github.com/github/hub/releases/download/v${GITHUB_HUBVER}/${hub}.tgz" || true
tar xzf ${hub}.tgz
tar xzf "${hub}.tgz"
mkdir -p .local
cp -rf "${hub}"/* .local/