Skip to content

Commit ea7abac

Browse files
committed
Fix broken script on Windows
1 parent f01c14d commit ea7abac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dist/bin/common

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# save terminal settings
88
saved_stty=$(stty -g 2>/dev/null)
99
# clear on error so we don't later try to restore them
10-
if [[ ! $? ]]; then
10+
if [[ ! $? ]]; then
1111
saved_stty=""
1212
fi
1313

@@ -135,7 +135,7 @@ fi
135135
find_lib () {
136136
local lib=$(find $PROG_HOME/lib/ -name "$1")
137137
if [ -n "$CYGPATHCMD" ]; then
138-
$CYGPATHCMD -am $lib
138+
"$CYGPATHCMD" -am $lib
139139
elif [[ $mingw || $msys ]]; then
140140
echo $lib | sed 's|/|\\\\|g'
141141
else

0 commit comments

Comments
 (0)