Package: dpatch Version: 2.0.16 Severity: normal Tags: patch dpatch-get-origtargz follows symlinks, but copies the tarball using the original name (and not the expected one).
The patch is self-explicative -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.14-2-amd64-k8 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) dpatch depends on no packages. Versions of packages dpatch recommends: ii dpkg-dev 1.13.11 package building tools for Debian ii fakeroot 1.5.6 Gives a fake root environment ii patchutils 0.2.31-1 Utilities to work with patches -- no debconf information -- Enrico Tassi
--- dpatch-get-origtargz 2005-12-24 19:49:11.000000000 +0100 +++ dpatch-get-origtargz.new 2005-12-24 19:46:27.000000000 +0100 @@ -26,9 +26,9 @@ cp $(readlink -f "${DPGO_ORIGTARDIR}/$ORIGTARGZ") $ORIGTARDIR elif [ ! -z "${DPGO_ORIGTARGZPATH}" ]; then for dir in $(echo ${DPGO_ORIGTARGZPATH} | cut -d: -f 1- --output-delimiter=' '); do - echo DEBUG: try $dir + echo DEBUG: try $dir/$ORIGTARGZ -> $ORIGTARDIR/$ORIGTARGZ if [ -f "$dir/$ORIGTARGZ" ]; then - cp $(readlink -f "$dir/$ORIGTARGZ") $ORIGTARDIR + cp $(readlink -f "$dir/$ORIGTARGZ") $ORIGTARDIR/$ORIGTARGZ break fi done