Blob Blame History Raw
From 48545132620f85d3ba133010116884a63f26f3a3 Mon Sep 17 00:00:00 2001
From: Rex Dieter <rdieter@math.unl.edu>
Date: Wed, 17 Sep 2014 06:31:40 -0500
Subject: [PATCH 18/22] xdg-utils-common is broken, xdg-open uses bashism
 (#83979)

---
 scripts/xdg-open.in         | 2 +-
 scripts/xdg-utils-common.in | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/xdg-open.in b/scripts/xdg-open.in
index 917df2c..244f214 100644
--- a/scripts/xdg-open.in
+++ b/scripts/xdg-open.in
@@ -54,7 +54,7 @@ get_key()
                 desktop_entry="y"
             ;;
             # Reset match flag for other groups
-            [*)
+            "["*)
                 desktop_entry=""
             ;;
             *)
diff --git a/scripts/xdg-utils-common.in b/scripts/xdg-utils-common.in
index 37c4082..2c8fa46 100644
--- a/scripts/xdg-utils-common.in
+++ b/scripts/xdg-utils-common.in
@@ -226,7 +226,7 @@ check_common_commands()
             exit_success
             ;;
 
-            t --version)
+            --version)
             echo "@NAME@ 1.1.0 rc3"
             exit_success
             ;;
-- 
2.1.0