]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
- current builder script accepts -bc and --short-circuit
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 5 Feb 2008 17:30:41 +0000 (17:30 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    compile.sh -> 1.6

compile.sh

index 3ff60d3cb024a60c142fa6aac29bfd631bdb62dc..9aa027436a7168f5c38054afa99809ba10e95cdb 100644 (file)
 #
 # -glen 2005-03-03
 
-set -e
-
-rpmbuild() {
-       set -x
-       /usr/bin/rpmbuild ${TARGET:+--target $TARGET} $BCONDS --short-circuit "$@" || exit
-}
-
-specfile="${1%.spec}.spec"; shift
-set -- "$specfile" "$@"
-
-tmp=$(awk '/^BuildArch:/ { print $NF}' $specfile)
-if [ "$tmp" ]; then
-       TARGET="$tmp"
-fi
-
-BCONDS=$(./builder -nn -ncs --show-bcond-args $specfile)
-
-rpmbuild -bc "$@"
+set -x
+exec ./builder --short-circuit -bc "$@"
This page took 0.031529 seconds and 4 git commands to generate.