Skip to content

Commit cde0204

Browse files
committed
Merge pull request #8118 from domenzain/install_hotfix
Quotes in C locale (always available) work best.
2 parents ecd039c + 21fd464 commit cde0204

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ DEST=$1
1515

1616
for SRC in $ARGS; do
1717
# Copy file, then take output of the form 'src' -> 'dest' and get only 'dest'
18-
DESTFILE=$(cp -va $SRC $DEST | sed -e $'s/ -> /\\\n/g' | tail -n 1)
18+
DESTFILE=$(LC_ALL=C cp -va $SRC $DEST | sed -e $'s/ -> /\\\n/g' | tail -n 1)
1919

2020
# If there are surrounding quotes, remove them. We do this simply by knowing that the destination is always an absolute path
2121
if [ "$(echo $DESTFILE | head -c1)" != "/" ]; then

0 commit comments

Comments
 (0)