Fix shellcheck warnings

This commit is contained in:
Hektor Misplon
2020-11-13 23:22:53 +01:00
parent b9d0500d4a
commit 811363f3a6
3 changed files with 9 additions and 9 deletions

View File

@@ -3,7 +3,7 @@
XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME/.config}"
BRAVE_USER_FLAGS_FILE="$XDG_CONFIG_HOME/brave-flags.conf"
if [[ -f $BRAVE_USER_FLAGS_FILE ]]; then
USER_FLAGS="$(cat $BRAVE_USER_FLAGS_FILE | sed 's/#.*//')"
USER_FLAGS="$(sed 's/#.*//' < "$BRAVE_USER_FLAGS_FILE")"
fi
/usr/bin/brave $@ $USER_FLAGS
/usr/bin/brave "$@" "$USER_FLAGS"