summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Heusel2023-06-02 12:09:42 +0200
committerChristian Heusel2023-06-02 12:09:42 +0200
commit6c5607ab993006f520786f020414fc4e71da2671 (patch)
tree47b6eaccdd56f2c62f40020f24af495f71f41cf2
parent98f48204e897cf5e99b6b3f842706ad3b0065d48 (diff)
downloadaur-6c5607ab993006f520786f020414fc4e71da2671.tar.gz
ignore comments in the flags
-rw-r--r--google-chrome-beta.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/google-chrome-beta.sh b/google-chrome-beta.sh
index d10b966da37e..5182da4fa19d 100644
--- a/google-chrome-beta.sh
+++ b/google-chrome-beta.sh
@@ -4,7 +4,7 @@ XDG_CONFIG_HOME=${XDG_CONFIG_HOME:-~/.config}
# Allow users to override command-line options
if [[ -f $XDG_CONFIG_HOME/chrome-beta-flags.conf ]]; then
- CHROME_USER_FLAGS="$(cat $XDG_CONFIG_HOME/chrome-beta-flags.conf)"
+ CHROME_USER_FLAGS="$(grep -v '^#' $XDG_CONFIG_HOME/chrome-beta-flags.conf)"
fi
# Launch