mirror of
git://code.qt.io/qt/qt5.git
synced 2026-04-25 06:07:47 +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:
@@ -4,7 +4,7 @@
|
||||
|
||||
set -ex
|
||||
|
||||
[ -x "$(command -v realpath)" ] && FILE=$(realpath ${BASH_SOURCE[0]}) || FILE=${BASH_SOURCE[0]}
|
||||
[ -x "$(command -v realpath)" ] && FILE=$(realpath "${BASH_SOURCE[0]}") || FILE="${BASH_SOURCE[0]}"
|
||||
case $FILE in
|
||||
*/*) SERVER_PATH="${FILE%/*}" ;;
|
||||
*) SERVER_PATH="." ;;
|
||||
@@ -23,4 +23,4 @@ esac
|
||||
docker info
|
||||
|
||||
# Create images
|
||||
$SERVER_PATH/docker_images.sh
|
||||
"$SERVER_PATH/docker_images.sh"
|
||||
|
||||
Reference in New Issue
Block a user