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 if [ "${TRAVIS_OS_NAME}" = linux ]; then
# Download chroot image # Download chroot image
archImage=archlinux-bootstrap-${ARCH_ROOT_DATE}-x86_64.tar.gz 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" sudo tar xzf "$archImage"
# Configure mirrors # 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 ${DOWNLOAD_CMD} "http://download.qt.io/official_releases/qt-installer-framework/${QTIFWVER}/${qtIFW}" || true
if [ -e "${qtIFW}" ]; then 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.dmg -bb
7z x -oqtifw qtifw/5.hfsx -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} installer=qtifw/QtInstallerFramework-macOS-x86_64-${QTIFWVER}/QtInstallerFramework-macOS-x86_64-${QTIFWVER}.app/Contents/MacOS/QtInstallerFramework-macOS-x86_64-${QTIFWVER}
chmod +x "${installer}"
qtifw/QtInstallerFramework-macOS-x86_64-${QTIFWVER}/QtInstallerFramework-macOS-x86_64-${QTIFWVER}.app/Contents/MacOS/QtInstallerFramework-macOS-x86_64-${QTIFWVER} \ ${installer} \
--verbose \ --verbose \
--accept-licenses \ --accept-licenses \
--accept-messages \ --accept-messages \

View file

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