~mdw
/
profile
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
el/dot-emacs.el (compile-command): Run compilations nice(1)ly by default.
[profile]
/
bin
/
mdw-sbuild-server
diff --git
a/bin/mdw-sbuild-server
b/bin/mdw-sbuild-server
index
ca76705
..
b9872bd
100755
(executable)
--- a/
bin/mdw-sbuild-server
+++ b/
bin/mdw-sbuild-server
@@
-41,7
+41,7
@@
done
prog=${0##*/}
fail () { echo >&2 "$prog: $*"; exit 1; }
prog=${0##*/}
fail () { echo >&2 "$prog: $*"; exit 1; }
-usage () { echo "usage: $prog [-aikn] [-t TARGET] [-A DBPARGS] COMMAND [ARGUMENTS ...]"; }
+usage () { echo "usage: $prog [-aikn
T
] [-t TARGET] [-A DBPARGS] COMMAND [ARGUMENTS ...]"; }
fail_usage () { usage >&2; exit 1; }
want_1 () {
fail_usage () { usage >&2; exit 1; }
want_1 () {
@@
-76,7
+76,7
@@
decor () {
bogusp=nil archp=nil indepp=nil keepon=nil notreally=nil
unset targets dbpargs
bogusp=nil archp=nil indepp=nil keepon=nil notreally=nil
unset targets dbpargs
-while getopts "haint:A:" opt; do
+while getopts "haint:A:
T
" opt; do
case $opt in
h)
usage
case $opt in
h)
usage
@@
-90,6
+90,7
@@
Options:
-n Don't actually do the build.
-t TARGET Build in TARGET build environment.
-A ARGS Pass ARGS to \`dpkg-buildpackage'.
-n Don't actually do the build.
-t TARGET Build in TARGET build environment.
-A ARGS Pass ARGS to \`dpkg-buildpackage'.
+ -T Don't run the tests.
Commands available:
Commands available:
@@
-110,6
+111,12
@@
EOF
n) notreally=t ;;
t) targets="${targets+$targets }$OPTARG" ;;
A) dbpargs="${dbpargs+$dbpargs }$OPTARG" ;;
n) notreally=t ;;
t) targets="${targets+$targets }$OPTARG" ;;
A) dbpargs="${dbpargs+$dbpargs }$OPTARG" ;;
+ T)
+ case " $DEB_BUILD_OPTIONS " in
+ *" nocheck "*) ;;
+ *) DEB_BUILD_OPTIONS=${DEB_BUILD_OPTIONS+"$DEB_BUILD_OPTIONS "} nocheck ;;
+ esac
+ ;;
*) bogusp=nil ;;
esac
done
*) bogusp=nil ;;
esac
done