summaryrefslogtreecommitdiff
path: root/localdebuild
diff options
context:
space:
mode:
Diffstat (limited to 'localdebuild')
-rwxr-xr-xlocaldebuild8
1 files changed, 8 insertions, 0 deletions
diff --git a/localdebuild b/localdebuild
new file mode 100755
index 0000000..fb2f885
--- /dev/null
+++ b/localdebuild
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+set -e
+
+debuild \
+ --set-envvar=CCACHE_DIR="/var/cache/pbuilder/ccache" \
+ --set-envvar=PATH="/var/cache/pbuilder/bin:/usr/lib/ccache:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11" \
+ "$@"