Skip to content

Commit 55b2638

Browse files
committed
Useless use of echo introduced
1 parent c3007b0 commit 55b2638

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/dependencies_check.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ done
5959
pkgpy=$(sed -n '/install_requires=\[/,/\]/p' setup.py | tr -d '\n' | sed 's/^.*\[\(.*\)\].*$/\1/g' | tr -d ',"')
6060
for pkgfull in ${pkgpy}; do
6161
# Very ugly multi-character split
62-
# shellcheck disable=SC3011,SC2086
63-
pkg=$(cut -d '=' -f 1 <<< ${pkgfull} | cut -d '<' -f 1 | cut -d '>' -f 1)
62+
# shellcheck disable=SC3011
63+
pkg=$(echo "${pkgfull}" | cut -d '=' -f 1 | cut -d '<' -f 1 | cut -d '>' -f 1)
6464
# shellcheck disable=SC2046,SC2143
6565
if [ ! $(grep -qrhE "^${pkg}" ./tmp/urls) ]; then
6666
# echo "DEBUG: ${pkg} from setup.py not in upstream requirements/constraints"

0 commit comments

Comments
 (0)