File 0002-Allow-missing-components-with-abs2rel.patch of Package javapackages-tools
From 5f5164c230f7a0bea9d727fd45dccb787b3ef653 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fridrich=20=C5=A0trba?= <fridrich.strba@bluewin.ch>
Date: Sun, 29 Sep 2024 11:48:03 +0200
Subject: [PATCH 2/2] Allow missing components with abs2rel
---
bin/abs2rel | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/abs2rel b/bin/abs2rel
index b0b85048..a06bab76 100755
--- a/bin/abs2rel
+++ b/bin/abs2rel
@@ -36,4 +36,4 @@ if [ $# -ne 2 ]; then
exit 1
fi
-exec realpath -s --relative-to="$2" "$1"
+exec realpath -m -s --relative-to="$2" "$1"
--
2.46.1