[visual-studio-code-bin] Fix newline handling in code-flags.conf, sync

.desktop files with upstream
This commit is contained in:
D. Can Celasun
2022-04-19 22:26:20 +01:00
parent d8d9909caf
commit 325777eddb
5 changed files with 13 additions and 13 deletions

View File

@@ -4,7 +4,7 @@ XDG_CONFIG_HOME=${XDG_CONFIG_HOME:-~/.config}
# Allow users to override command-line options
if [[ -f $XDG_CONFIG_HOME/code-flags.conf ]]; then
CODE_USER_FLAGS="$(sed 's/#.*//' $XDG_CONFIG_HOME/code-flags.conf)"
CODE_USER_FLAGS="$(sed 's/#.*//' $XDG_CONFIG_HOME/code-flags.conf | tr '\n' ' ')"
fi
# Launch