Merge pull request #192 from fdellwing/patch-1

fix cut syntax
This commit is contained in:
Carlos Polop 2021-08-09 13:32:48 +02:00 committed by GitHub
commit c221c84714
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2692,7 +2692,7 @@ if echo $CHECKS | grep -q IntFiles; then
echo "$cb" | sed -${E} "s,$capsB,${SED_RED},"
fi
if ! [ "$IAMROOT" ] && [ -w "$(echo \"$cb\" | cut -d \" \" -f1)" ]; then
if ! [ "$IAMROOT" ] && [ -w "$(echo \"$cb\" | cut -d" " -f1)" ]; then
echo "$cb is writable" | sed -${E} "s,.*,${SED_RED},"
fi
done