Control: tags 1115226 + pending

Dear maintainer,

I've prepared an NMU for git-dpm (versioned as 0.10.0-1.2) and uploaded it to DELAYED/5. Please feel free to tell me if I should cancel it.

Regards,

--
Colin Watson (he/him)                              [[email protected]]
diffstat for git-dpm-0.10.0 git-dpm-0.10.0

 changelog                   |    7 +++++++
 patches/avoid-null-cd.patch |   19 +++++++++++++++++++
 patches/series              |    1 +
 3 files changed, 27 insertions(+)

diff -Nru git-dpm-0.10.0/debian/changelog git-dpm-0.10.0/debian/changelog
--- git-dpm-0.10.0/debian/changelog	2021-01-03 12:42:28.000000000 +0000
+++ git-dpm-0.10.0/debian/changelog	2025-09-16 15:29:34.000000000 +0100
@@ -1,3 +1,10 @@
+git-dpm (0.10.0-1.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix incompatibility with bash 5.3 (closes: #1115226).
+
+ -- Colin Watson <[email protected]>  Tue, 16 Sep 2025 15:29:34 +0100
+
 git-dpm (0.10.0-1.1) unstable; urgency=medium
 
   * Non maintainer upload by the Reproducible Builds team.
diff -Nru git-dpm-0.10.0/debian/patches/avoid-null-cd.patch git-dpm-0.10.0/debian/patches/avoid-null-cd.patch
--- git-dpm-0.10.0/debian/patches/avoid-null-cd.patch	1970-01-01 01:00:00.000000000 +0100
+++ git-dpm-0.10.0/debian/patches/avoid-null-cd.patch	2025-09-16 15:29:34.000000000 +0100
@@ -0,0 +1,19 @@
+Description: Avoid calling cd with an empty argument
+ Fixes incompatibility with bash 5.3.
+Author: Colin Watson <[email protected]>
+Bug-Debian: https://bugs.debian.org/1115226
+Last-Update: 2025-09-16
+
+--- git-dpm-0.10.0.orig/git-dpm.sh
++++ git-dpm-0.10.0/git-dpm.sh
+@@ -238,7 +238,9 @@ function checkworkingdir() {
+ function cdtoplevel() {
+ 	test -n "$gitdir" || return 1
+ 	checkworkingdir || return 1
+-	cd -- "$reldir" || return 1
++	if [ "$reldir" ]; then
++		cd -- "$reldir" || return 1
++	fi
+ 	reldir=""
+ }
+ 
diff -Nru git-dpm-0.10.0/debian/patches/series git-dpm-0.10.0/debian/patches/series
--- git-dpm-0.10.0/debian/patches/series	1970-01-01 01:00:00.000000000 +0100
+++ git-dpm-0.10.0/debian/patches/series	2025-09-16 15:29:34.000000000 +0100
@@ -0,0 +1 @@
+avoid-null-cd.patch

Reply via email to