minor s/$arg/$target/ fix for prior commit

This commit is contained in:
Rex Dieter 2015-02-21 09:27:51 -06:00
parent a83f3e59ad
commit c61879da8c
2 changed files with 30 additions and 1 deletions

View File

@ -0,0 +1,25 @@
From 8f5e1cd175662027ff96582e387078e85f088ffa Mon Sep 17 00:00:00 2001
From: Rex Dieter <rdieter@gmail.com>
Date: Sat, 21 Feb 2015 09:25:41 -0600
Subject: [PATCH 9/9] one more s/$arg/$target/ rename fix for prior commit
---
scripts/xdg-open.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/xdg-open.in b/scripts/xdg-open.in
index 074ba6f..678eae4 100644
--- a/scripts/xdg-open.in
+++ b/scripts/xdg-open.in
@@ -221,7 +221,7 @@ search_desktop_file()
fi
for d in $dir/*/; do
- [ -d "$d" ] && search_desktop_file "$default" "$d" "$arg"
+ [ -d "$d" ] && search_desktop_file "$default" "$d" "$target"
done
}
--
2.1.0

View File

@ -4,7 +4,7 @@
Summary: Basic desktop integration functions Summary: Basic desktop integration functions
Name: xdg-utils Name: xdg-utils
Version: 1.1.0 Version: 1.1.0
Release: 0.37.%{pre}%{?dist} Release: 0.38.%{pre}%{?dist}
URL: http://portland.freedesktop.org/ URL: http://portland.freedesktop.org/
%if 0%{?pre:1} %if 0%{?pre:1}
@ -24,6 +24,7 @@ Patch5: 0005-xdg-open-better-fix-for-command-injection-vulnerabil.patch
Patch6: 0006-xdg-open-Improve-performance-of-get_key-function.patch Patch6: 0006-xdg-open-Improve-performance-of-get_key-function.patch
Patch7: 0007-Add-changelog-for-prior-commit.patch Patch7: 0007-Add-changelog-for-prior-commit.patch
Patch8: 0008-xdg-open-safer-xdg-open-BR89130.patch Patch8: 0008-xdg-open-safer-xdg-open-BR89130.patch
Patch9: 0009-one-more-s-arg-target-rename-fix-for-prior-commit.patch
# make sure BuildArch comes *after* patches, to ensure %%autosetup works right # make sure BuildArch comes *after* patches, to ensure %%autosetup works right
# http://bugzilla.redhat.com/1084309 # http://bugzilla.redhat.com/1084309
@ -98,6 +99,9 @@ make install DESTDIR=%{buildroot}
%changelog %changelog
* Sat Feb 21 2015 Rex Dieter <rdieter@fedoraproject.org> 1.1.0-0.38.rc3
- minor s/$arg/$target/ fix for prior commit
* Fri Feb 20 2015 Rex Dieter <rdieter@fedoraproject.org> 1.1.0-0.37.rc3 * Fri Feb 20 2015 Rex Dieter <rdieter@fedoraproject.org> 1.1.0-0.37.rc3
- xdg-open wrongly passes all command line arguments as one argument to e.g. okular on non Gnome desktops (#1191981) - xdg-open wrongly passes all command line arguments as one argument to e.g. okular on non Gnome desktops (#1191981)