xdg-utils/0008-xdg-open-Remove-first_word-already-in-common.patch
Rex Dieter 82f4a464bd 1.1.0-0.21.rc2
- .spec housecleaning (remove deprecated stuff)
- pull in latest upstream fixes, including...
- xdg-open does not substitute all field codes in Exec key (#1056431, fdo#49204)
2014-03-30 17:40:51 -05:00

30 lines
631 B
Diff

From 3eaf93ab3303e14813885b6b743b48a1c3b5a6ab Mon Sep 17 00:00:00 2001
From: Till Maas <opensource@till.name>
Date: Wed, 26 Feb 2014 15:19:33 +0100
Subject: [PATCH 8/9] xdg-open: Remove first_word, already in common
---
scripts/xdg-open.in | 6 ------
1 file changed, 6 deletions(-)
diff --git a/scripts/xdg-open.in b/scripts/xdg-open.in
index 87e161d..1f768d8 100644
--- a/scripts/xdg-open.in
+++ b/scripts/xdg-open.in
@@ -30,12 +30,6 @@ _USAGE
#@xdg-utils-common@
# This handles backslashes but not quote marks.
-first_word()
-{
- read first rest
- echo "$first"
-}
-
last_word()
{
read first rest
--
1.9.0