Kaydet (Commit) 7ff0a2e4 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Quoting clean-up

cosmetics only; even the unquoted echo $1 would not have caused any problems

Change-Id: Iabae872fe6232dc1cd627b736f0c4fc5a8611037
üst 288d1a3f
......@@ -33,7 +33,7 @@ which() {
# checks for the original mozilla start script(s)
# and restrict the "-remote" semantics to those.
run_mozilla() {
if file "$1" | grep "script" > /dev/null && grep "NPL" "$1" > /dev/null; then
if file "$1" | grep script > /dev/null && grep NPL "$1" > /dev/null; then
"$1" -remote 'ping()' 2>/dev/null >/dev/null
if [ $? -eq 2 ]; then
"$1" "$2" &
......@@ -46,7 +46,7 @@ run_mozilla() {
}
# special handling for mailto: uris
if echo $1 | grep '^mailto:' > /dev/null; then
if echo "$1" | grep '^mailto:' > /dev/null; then
# check for xdg-email
mailer=`which xdg-email`
if [ ! -z "$mailer" ]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment