aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-buildpackage-funcs
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-06-17 19:19:56 +0000
committerMattia Rizzolo <mattia@mapreri.org>2015-06-17 19:19:56 +0000
commit1f2f0398d2034847f54841234ca5e3cc9271816e (patch)
treeaef865924c11e1ac47e030662559829dc93045ac /pbuilder-buildpackage-funcs
parent3975bf31ed8dc2906025722ad7365d6d7992e730 (diff)
downloadpbuilder-1f2f0398d2034847f54841234ca5e3cc9271816e.tar
pbuilder-1f2f0398d2034847f54841234ca5e3cc9271816e.tar.gz
import 0.125+nmu1
Diffstat (limited to 'pbuilder-buildpackage-funcs')
-rw-r--r--pbuilder-buildpackage-funcs5
1 files changed, 2 insertions, 3 deletions
diff --git a/pbuilder-buildpackage-funcs b/pbuilder-buildpackage-funcs
index 3083f03..9ec12e7 100644
--- a/pbuilder-buildpackage-funcs
+++ b/pbuilder-buildpackage-funcs
@@ -107,8 +107,7 @@ function setup_ccache() {
mkdir -p "$BUILDPLACE/$CCACHEDIR"
fi
chown -R $BUILDUSERID:$BUILDUSERID "$BUILDPLACE/$CCACHEDIR"
- # Unfortunate difference between pbuilder-style and ccache-style config
- # env vars :-/
- export CCACHE_DIR="$CCACHEDIR"
+ CCACHE_ENV="CCACHE_DIR=$CCACHEDIR"
+ unset CCACHE_DIR
fi
}