summaryrefslogtreecommitdiff
path: root/localgitdebuild
diff options
context:
space:
mode:
Diffstat (limited to 'localgitdebuild')
-rwxr-xr-xlocalgitdebuild9
1 files changed, 9 insertions, 0 deletions
diff --git a/localgitdebuild b/localgitdebuild
new file mode 100755
index 0000000..983fe3d
--- /dev/null
+++ b/localgitdebuild
@@ -0,0 +1,9 @@
+#!/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" \
+ -i\.git/ -I.git \
+ "$@"