summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Heusel2023-06-02 12:09:42 +0200
committerChristian Heusel2023-06-02 12:09:42 +0200
commit524a059a1c7c52be2d9304097edfb603707ed67f (patch)
tree6c6028a096f3c03ac09240062cf03ff6ef6fc32c
parent55591e0bac2bfb0d9ad1dd4c813c22a5889ee139 (diff)
downloadaur-524a059a1c7c52be2d9304097edfb603707ed67f.tar.gz
ignore comments in the flags
-rw-r--r--google-chrome-unstable.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/google-chrome-unstable.sh b/google-chrome-unstable.sh
index 759f6f8891c3..dbe8b671a6fe 100644
--- a/google-chrome-unstable.sh
+++ b/google-chrome-unstable.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-dev-flags.conf ]]; then
- CHROME_USER_FLAGS="$(cat $XDG_CONFIG_HOME/chrome-dev-flags.conf)"
+ CHROME_USER_FLAGS="$(grep -v '^#' $XDG_CONFIG_HOME/chrome-dev-flags.conf)"
fi
# Launch