Skip to content

Commit bf1d215

Browse files
szkibajdbaldry
andauthored
Quoting to avoid word splitting on paths with spaces
thanks @jdbaldry Co-authored-by: Jack Baldry <[email protected]>
1 parent 4a3efbe commit bf1d215

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/extension-registry-changed

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ q
3737
EOF
3838
}
3939

40-
scriptdir=$(dirname $(readlink -f "$0"))
41-
docfile=$scriptdir/../docs/sources/next/extensions/explore.md
40+
scriptdir="$(dirname "$(readlink -f "$0")")"
41+
docfile="$scriptdir/../docs/sources/next/extensions/explore.md"
4242

4343
tmpfile=/tmp/explore.$$
4444

0 commit comments

Comments
 (0)