summaryrefslogtreecommitdiff
path: root/.sbuildrc
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2016-05-21 21:18:22 +0900
committerSean Whitton <spwhitton@spwhitton.name>2016-05-21 21:18:22 +0900
commit09938edc696be155f7f273cd433dc0170818511e (patch)
treead6072ccfc1de5372263920dd43d1253a526bf79 /.sbuildrc
parent839d24b2440b63d47b9a4955b104f1f37d885775 (diff)
downloaddotfiles-09938edc696be155f7f273cd433dc0170818511e.tar.gz
factor a script out of .sbuildrc
Diffstat (limited to '.sbuildrc')
-rw-r--r--.sbuildrc11
1 files changed, 1 insertions, 10 deletions
diff --git a/.sbuildrc b/.sbuildrc
index c261abe9..df502dc6 100644
--- a/.sbuildrc
+++ b/.sbuildrc
@@ -24,16 +24,7 @@ $piuparts_opts = [
$external_commands = {
'post-build-commands' => [
[
- 'adt-run',
- '--changes', '%c',
- '---',
- 'schroot', 'unstable-i386-sbuild;',
-
- # if adt-run's exit code is 8 then the package had no tests but
- # this isn't a failure, so catch it
- 'adtexit=$?;',
- 'if', 'test', '$adtexit', '=', '8;', 'then',
- 'exit', '0;', 'else', 'exit', '$adtexit;', 'fi'
+ 'adt-run-sbuild', '%c', 'unstable-i386-sbuild'
],
],
};