]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
- short-circuit for compile
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 14 Oct 2005 13:30:23 +0000 (13:30 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    compile.sh -> 1.1

compile.sh [new file with mode: 0644]

diff --git a/compile.sh b/compile.sh
new file mode 100644 (file)
index 0000000..59b915d
--- /dev/null
@@ -0,0 +1,16 @@
+#!/bin/sh
+# will build package, skipping %prep and %build stage
+# i use it a lot!
+#
+# -glen 2005-03-03
+
+set -e
+
+rpmbuild() {
+       set -x
+       # i'd use ./builder to get all the ~/.bcondrc parsing,
+    # but builder doesn't understand -bi
+#      ./builder -ncs -nc -nn --opts --short-circuit "$@"
+       command rpmbuild --short-circuit "$@" || exit
+}
+rpmbuild -bc "$@"
This page took 0.028583 seconds and 4 git commands to generate.