summaryrefslogtreecommitdiff
path: root/x11-misc/xdg-utils/files/xdg-utils-1.2.0-xdg-icon-resource-syntax.patch
blob: 272daad9073e2c547507647ee62a567057a6e9c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
https://gitlab.freedesktop.org/xdg/xdg-utils/-/commit/af2fe0d1dcbcd982d84ddf2bbd174afe90976ed9

From af2fe0d1dcbcd982d84ddf2bbd174afe90976ed9 Mon Sep 17 00:00:00 2001
From: Harald Sitter <sitter@kde.org>
Date: Tue, 30 Jan 2024 11:24:41 +0100
Subject: [PATCH] xdg-icon-resource: unbreak syntax by removing stray grave
 accent

--- a/scripts/xdg-icon-resource.in
+++ b/scripts/xdg-icon-resource.in
@@ -306,7 +306,7 @@ fi
 need_kde_icon_path()
 {
   local path
-  path="$(xdg_realpath "$1")" 2> /dev/null` # Normalize path
+  path="$(xdg_realpath "$1")" 2> /dev/null # Normalize path
   DEBUG 2 "need_kde_icon_path $path"
   if [ -z "$path" ] ; then
      DEBUG 2 "need_kde_icon_path RETURN 1 (not needed, no xdg icon dir)"
-- 
GitLab