diff --git a/debian/rules b/debian/rules index 76d1c47d..f55a3caa 100755 --- a/debian/rules +++ b/debian/rules @@ -756,8 +756,9 @@ sccache-stats: # If we used sccache, shows stats if test -f /opt/sccache/sccache; then \ ls -al /opt/sccache/; \ - /opt/sccache/sccache --stats-format json --show-stats > /tmp/buildd/sccache-stats.json; \ - cat /tmp/buildd/sccache-stats.json; \ + mkdir -p /tmp/buildd/source/; \ + /opt/sccache/sccache --stats-format json --show-stats > /tmp/buildd/source/sccache-stats.json; \ + cat /tmp/buildd/source/sccache-stats.json; \ fi touch $@