You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: scripts/prepare-commit.sh
+25-25
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ if ! tty -s && [[ "$0" =~ /pre-commit ]]; then
22
22
exec</dev/tty
23
23
fi
24
24
25
-
cd$TOPLEVEL
25
+
cd"$TOPLEVEL"
26
26
27
27
# GNU prefix command for mac os support (gsed, gsplit)
28
28
GP=
@@ -57,25 +57,25 @@ if [ -z "$MODIFIED" ]; then
57
57
exit 0
58
58
fi
59
59
60
-
if [[ -n"$QGIS_CHECK_SPELLING"&&-x${TOPLEVEL}/scripts/spell_check/check_spelling.sh ]];then${TOPLEVEL}/scripts/spell_check/check_spelling.sh $MODIFIED;fi
60
+
if [[ -n"$QGIS_CHECK_SPELLING"&&-x"${TOPLEVEL}"/scripts/spell_check/check_spelling.sh ]];then"${TOPLEVEL}"/scripts/spell_check/check_spelling.sh "$MODIFIED";fi
0 commit comments