mirror of
git://code.qt.io/qt/qt5.git
synced 2026-04-21 20:36:54 +08:00
Fix shellcheck complaints about provisioning scripts
Also adds executable attributes to shell scripts that were missing it. Change-Id: Id52ef495147fdbfb5cb1a1f711fac530e0e85f3b Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
# Copyright (C) 2023 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
# This script install cpdb from sources.
|
||||
# This script installs cpdb from sources.
|
||||
# Requires GCC and Perl to be in PATH.
|
||||
# The following dependencies should be pre-installed:
|
||||
# make, autoconf, autopoint, libglib2.0-dev, libdbus-1-dev, libtool
|
||||
@@ -13,14 +13,14 @@ gitUrl="https://github.com/openprinting/$repName.git"
|
||||
tmpdir="/tmp"
|
||||
repDir="$tmpdir/$repName"
|
||||
prefix="/usr"
|
||||
rm -rf $repDir
|
||||
cd $tmpdir
|
||||
git clone $gitUrl >/dev/null
|
||||
cd $repDir
|
||||
rm -rf "$repDir"
|
||||
cd "$tmpdir"
|
||||
git clone -q "$gitUrl"
|
||||
cd "$repDir"
|
||||
# cpdb-libs v2.0b4 with build bug fixed
|
||||
git checkout ce848f1571a82ec03881fce127ff28bec8da239e > /dev/null
|
||||
git checkout -q ce848f1571a82ec03881fce127ff28bec8da239e
|
||||
./autogen.sh > /dev/null
|
||||
./configure --prefix=$prefix > /dev/null
|
||||
make -j$(nproc) > /dev/null && sudo make install > /dev/null
|
||||
./configure --prefix="$prefix" > /dev/null
|
||||
make "-j$(nproc)" > /dev/null && sudo make install > /dev/null
|
||||
sudo ldconfig
|
||||
rm -rf $repDir
|
||||
rm -rf "$repDir"
|
||||
|
||||
Reference in New Issue
Block a user