fix: add quotes to cygwin condition (#31025)

closes: #30967

Signed-off-by: Steve Hawkins <shawkins@redhat.com>
Signed-off-by: shawkins <shawkins@shawkins-thinkpadp16vgen1.hsd1.pa.comcast.net>
This commit is contained in:
Steven Hawkins 2024-07-03 09:58:30 -04:00 committed by GitHub
parent 96511e55c6
commit 2e6506cd3a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -27,7 +27,7 @@ GREP="grep"
DIRNAME="$(dirname "$RESOLVED_NAME")" DIRNAME="$(dirname "$RESOLVED_NAME")"
abs_path () { abs_path () {
if [ -z $IS_CYGWIN ] ; then if [ -z "$IS_CYGWIN" ] ; then
echo "$DIRNAME/$1" echo "$DIRNAME/$1"
else else
cygpath -w "$DIRNAME/$1" cygpath -w "$DIRNAME/$1"