File: 342665-pbuilder-ccache.sh

package info (click to toggle)
pbuilder 0.231.1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 3,864 kB
  • sloc: sh: 5,726; xml: 1,755; makefile: 248; ansic: 11
file content (9 lines) | stat: -rw-r--r-- 259 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
#!/bin/bash
# test pbuilder operation with ccache.
set -e 

mkdir work/ccache
chmod 1777 work/ccache
sudo pbuilder build --logfile "$OUTPUT_LOGNAME" --configfile 342665-config work/dsh*.dsc
[ 1 -lt  $(find work/ccache | tee -a "$OUTPUT_LOGNAME" | wc -l ) ];