Task #52515 - added.err

back to task #52515
download
Error: SHELLCHECK_WARNING (CWE-252):
/usr/bin/qt-cmake:5:19: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
#    3|   # The directory of this script is the expanded absolute path of the "$qt_prefix/bin" directory.
#    4|   script_dir_path=`dirname $0`
#    5|-> script_dir_path=`(cd "$script_dir_path"; pwd)`
#    6|   
#    7|   # Try to use original cmake, otherwise to make it relocatable, use any cmake found in PATH.

Error: SHELLCHECK_WARNING (CWE-252):
/usr/bin/qt-cmake-create:8:19: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
#    6|   # The directory of this script is the expanded absolute path of the "$qt_prefix/bin" directory.
#    7|   script_dir_path=`dirname $0`
#    8|-> script_dir_path=`(cd "$script_dir_path"; pwd)`
#    9|   
#   10|   # Try to use original cmake, otherwise to make it relocatable, use any cmake found in PATH.

Error: SHELLCHECK_WARNING (CWE-569):
/usr/bin/qt-configure-module:18:1: warning[SC2188]: This redirection doesn't have a command. Move to its command (or use 'true' as no-op).
#   16|   determineOptFilePath()
#   17|   {
#   18|-> > "${outpathPrefix}/config.redo.in"
#   19|   set -f  # suppress globbing in for loop
#   20|   for i in "$@"; do

Error: SHELLCHECK_WARNING (CWE-569):
/usr/bin/qt-configure-module:76:5: warning[SC2188]: This redirection doesn't have a command. Move to its command (or use 'true' as no-op).
#   74|   fresh_requested_arg=
#   75|   if [ -z "$optfile" ]; then   # only write optfile if not currently redoing
#   76|->     > "$opttmpfilepath"
#   77|       > "$redotmpfilepath"
#   78|   

Error: SHELLCHECK_WARNING (CWE-569):
/usr/bin/qt-configure-module:77:5: warning[SC2188]: This redirection doesn't have a command. Move to its command (or use 'true' as no-op).
#   75|   if [ -z "$optfile" ]; then   # only write optfile if not currently redoing
#   76|       > "$opttmpfilepath"
#   77|->     > "$redotmpfilepath"
#   78|   
#   79|       for arg in "$@"; do echo \"$arg\" >> "$opttmpfilepath"; done

Error: SHELLCHECK_WARNING (CWE-569):
/usr/bin/qt-configure-module:86:5: warning[SC2188]: This redirection doesn't have a command. Move to its command (or use 'true' as no-op).
#   84|   else
#   85|       # Rewriting config.opt into config.opt.in anyway. Allows for direct manipulation of config.opt
#   86|->     > "$opttmpfilepath"
#   87|       for arg in `cat $optfile`; do echo \"$arg\" >> "$opttmpfilepath"; done
#   88|   

Error: SHELLCHECK_WARNING (CWE-563):
/usr/bin/qt-configure-module:93:5: warning[SC2034]: fresh_requested_arg appears unused. Verify use (or export if used externally).
#   91|           -P "$script_dir_path/../../cmake/Qt6/QtWriteArgsFile.cmake"
#   92|       optfilepath=${redofilepath}
#   93|->     fresh_requested_arg=-DFRESH_REQUESTED=TRUE
#   94|   fi
#   95|   

Error: SHELLCHECK_WARNING (CWE-252):
/usr/lib64/qt6/bin/qt-cmake:5:19: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
#    3|   # The directory of this script is the expanded absolute path of the "$qt_prefix/bin" directory.
#    4|   script_dir_path=`dirname $0`
#    5|-> script_dir_path=`(cd "$script_dir_path"; pwd)`
#    6|   
#    7|   # Try to use original cmake, otherwise to make it relocatable, use any cmake found in PATH.

Error: SHELLCHECK_WARNING (CWE-252):
/usr/lib64/qt6/bin/qt-cmake-create:8:19: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
#    6|   # The directory of this script is the expanded absolute path of the "$qt_prefix/bin" directory.
#    7|   script_dir_path=`dirname $0`
#    8|-> script_dir_path=`(cd "$script_dir_path"; pwd)`
#    9|   
#   10|   # Try to use original cmake, otherwise to make it relocatable, use any cmake found in PATH.

Error: SHELLCHECK_WARNING (CWE-569):
/usr/lib64/qt6/bin/qt-configure-module:18:1: warning[SC2188]: This redirection doesn't have a command. Move to its command (or use 'true' as no-op).
#   16|   determineOptFilePath()
#   17|   {
#   18|-> > "${outpathPrefix}/config.redo.in"
#   19|   set -f  # suppress globbing in for loop
#   20|   for i in "$@"; do

Error: SHELLCHECK_WARNING (CWE-569):
/usr/lib64/qt6/bin/qt-configure-module:76:5: warning[SC2188]: This redirection doesn't have a command. Move to its command (or use 'true' as no-op).
#   74|   fresh_requested_arg=
#   75|   if [ -z "$optfile" ]; then   # only write optfile if not currently redoing
#   76|->     > "$opttmpfilepath"
#   77|       > "$redotmpfilepath"
#   78|   

Error: SHELLCHECK_WARNING (CWE-569):
/usr/lib64/qt6/bin/qt-configure-module:77:5: warning[SC2188]: This redirection doesn't have a command. Move to its command (or use 'true' as no-op).
#   75|   if [ -z "$optfile" ]; then   # only write optfile if not currently redoing
#   76|       > "$opttmpfilepath"
#   77|->     > "$redotmpfilepath"
#   78|   
#   79|       for arg in "$@"; do echo \"$arg\" >> "$opttmpfilepath"; done

Error: SHELLCHECK_WARNING (CWE-569):
/usr/lib64/qt6/bin/qt-configure-module:86:5: warning[SC2188]: This redirection doesn't have a command. Move to its command (or use 'true' as no-op).
#   84|   else
#   85|       # Rewriting config.opt into config.opt.in anyway. Allows for direct manipulation of config.opt
#   86|->     > "$opttmpfilepath"
#   87|       for arg in `cat $optfile`; do echo \"$arg\" >> "$opttmpfilepath"; done
#   88|   

Error: SHELLCHECK_WARNING (CWE-563):
/usr/lib64/qt6/bin/qt-configure-module:93:5: warning[SC2034]: fresh_requested_arg appears unused. Verify use (or export if used externally).
#   91|           -P "$script_dir_path/../../cmake/Qt6/QtWriteArgsFile.cmake"
#   92|       optfilepath=${redofilepath}
#   93|->     fresh_requested_arg=-DFRESH_REQUESTED=TRUE
#   94|   fi
#   95|   

Error: SHELLCHECK_WARNING (CWE-252):
/usr/lib64/qt6/libexec/qt-cmake-private:5:19: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
#    3|   # The directory of this script is the expanded absolute path of the "$qt_prefix/bin" directory.
#    4|   script_dir_path=`dirname $0`
#    5|-> script_dir_path=`(cd "$script_dir_path"; pwd)`
#    6|   
#    7|   # Try to use original cmake, otherwise to make it relocatable, use any cmake found in PATH.

Error: SHELLCHECK_WARNING (CWE-252):
/usr/lib64/qt6/libexec/qt-internal-configure-examples:3:19: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
#    1|   #!/usr/bin/sh
#    2|   script_dir_path=`dirname $0`
#    3|-> script_dir_path=`(cd "$script_dir_path"; pwd)`
#    4|   
#    5|   "$script_dir_path/../bin/qt-cmake" -DQT_BUILD_STANDALONE_EXAMPLES=ON -DQT_BUILD_TESTS=OFF -DQT_USE_ORIGINAL_COMPILER=ON "$@"

Error: SHELLCHECK_WARNING (CWE-252):
/usr/lib64/qt6/libexec/qt-internal-configure-tests:3:19: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
#    1|   #!/usr/bin/sh
#    2|   script_dir_path=`dirname $0`
#    3|-> script_dir_path=`(cd "$script_dir_path"; pwd)`
#    4|   
#    5|   "$script_dir_path/../bin/qt-cmake" -DQT_BUILD_STANDALONE_TESTS=ON -DQT_BUILD_EXAMPLES=OFF -DQT_USE_ORIGINAL_COMPILER=ON "$@"