]> git.pld-linux.org Git - packages/rpm-build-tools.git/blob - compile.sh
- short-circuit for compile
[packages/rpm-build-tools.git] / compile.sh
1 #!/bin/sh
2 # will build package, skipping %prep and %build stage
3 # i use it a lot!
4 #
5 # -glen 2005-03-03
6
7 set -e
8
9 rpmbuild() {
10         set -x
11         # i'd use ./builder to get all the ~/.bcondrc parsing,
12     # but builder doesn't understand -bi
13 #       ./builder -ncs -nc -nn --opts --short-circuit "$@"
14         command rpmbuild --short-circuit "$@" || exit
15 }
16 rpmbuild -bc "$@"
This page took 0.032018 seconds and 4 git commands to generate.