pbuilder/propagate-path-to-dpkg-buildpackage.diff
changeset 35 00eb34bfe348
parent 34 87b508932fa3
equal deleted inserted replaced
34:87b508932fa3 35:00eb34bfe348
     1 diff --git a/debian/changelog b/debian/changelog
       
     2 index 5d6b9d9..dff933d 100644
       
     3 --- a/debian/changelog
       
     4 +++ b/debian/changelog
       
     5 @@ -1,3 +1,11 @@
       
     6 +pbuilder (0.213+nmu1) oldstable stable; urgency=low
       
     7 +
       
     8 +  * Non-maintainer upload.
       
     9 +  * propagate $PATH to dpgk-buildpackage when using pdebuild-internal to make
       
    10 +    it possible to use ccache at all in that case
       
    11 +
       
    12 + -- Matthias Förste <foerste@schlittermann.de>  Wed, 26 Jun 2013 16:01:49 +0200
       
    13 +
       
    14  pbuilder (0.213) unstable; urgency=low
       
    15  
       
    16    [ Beatrice Torracca ]
       
    17 diff --git a/pdebuild-internal b/pdebuild-internal
       
    18 index 0c4fb99..7056464 100644
       
    19 --- a/pdebuild-internal
       
    20 +++ b/pdebuild-internal
       
    21 @@ -121,7 +121,7 @@ executehooks "A"
       
    22  # do build with that user.
       
    23  # $DEBBUILDOPTS is evaluated inside the su and chroot.
       
    24  export DEBBUILDOPTS
       
    25 -CMD="/usr/bin/dpkg-buildpackage -rfakeroot -us -uc "'${DEBBUILDOPTS}'
       
    26 +CMD="env PATH=$PATH /usr/bin/dpkg-buildpackage -rfakeroot -us -uc "'${DEBBUILDOPTS}'
       
    27  echo "I: Running $CMD"
       
    28  # This command should be ran with current directory as bind-mounted
       
    29  # package source directory