]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
- cache rpmbuild dump output (should be faster now)
authorMichal Moskal <michal@moskal.me>
Mon, 30 Jun 2003 20:25:33 +0000 (20:25 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    builder.sh -> 1.185

builder.sh

index 659f727ab3d73f67944e82d73c087402af7d6078..f720ae7e6322e74c8d3f01db334bd77efe441ce5 100644 (file)
@@ -190,6 +190,8 @@ Usage: builder [-D|--debug] [-V|--version] [-a|--as_anon] [-b|-ba|--build]
 }
 
 rpm_dump () {
+    if [ "$rpm_dump_cache" = "" ] ; then
+        rpm_dump_cache=`
        case "$RPMBUILD" in
        rpm )
                rpm -bp --nodeps --define 'prep %dump' $BCOND $SPECFILE 2>&1 
@@ -197,7 +199,9 @@ rpm_dump () {
        rpmbuild )
                rpmbuild --define 'prep %dump' $BCOND $SPECFILE 2>&1 
                ;;
-       esac
+       esac`
+    fi
+    echo "$rpm_dump_cache"
 }
 
 parse_spec()
This page took 0.103975 seconds and 4 git commands to generate.