Package: debirf Version: 0.34 Severity: normal Tags: patch If, like me, you had the clever idea of using CDPATH to save time, the behaviour of the "cd" command changed, and it now outputs the directory it CDs in to. So this line 302:
DEBIRF_BUILDD=$(cd "$DEBIRF_BUILDD" && pwd) unexpectly yields: /home/anarcat/src/stressant /home/anarcat/src/stressant/.fakeroot-state.debirf-stressant in my tests here. i would simply silence the output of cd using > /dev/null, but since this pattern is used in a few places, it's probably more reliable to just unset CDPATH. diff --git a/src/debirf b/src/debirf index f57bdaf..744c30d 100755 --- a/src/debirf +++ b/src/debirf @@ -15,6 +15,7 @@ CMD=$(basename $0) +unset CDPATH DEBIRF_COMMON=${DEBIRF_COMMON:-/usr/share/debirf/common} source "$DEBIRF_COMMON" have fun! -- System Information: Debian Release: 8.6 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 'stable'), (1, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 4.7.0-0.bpo.1-amd64 (SMP w/2 CPU cores) Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages debirf depends on: ii apt 1.0.9.8.4 ii cpio 2.11+dfsg-4.1+deb8u1 ii debootstrap 1.0.67 ii fakechroot 2.17.2-1 ii fakeroot 1.20.2-1 ii klibc-utils 2.0.4-2 Versions of packages debirf recommends: ii grub-common 2.02~beta2-22+deb8u1 ii lsb-release 4.1+Debian13+nmu1 ii syslinux-common 3:6.03+dfsg-5+deb8u1 ii xorriso 1.3.2-1.1 debirf suggests no packages. -- no debconf information