]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
- expand %rpm_build_macros to empty if missing
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 19 Feb 2010 10:41:20 +0000 (10:41 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    builder.sh -> 1.608

builder.sh

index bcfca824029e00b0b51996b13d6987440f47e8d2..66020e20b4fd1978968175d2dec9a59b730fdce3 100644 (file)
@@ -666,7 +666,7 @@ init_builder() {
        if [ "$NOINIT" != "yes" ] ; then
                TOP_DIR=$(eval $RPM $RPMOPTS --eval '%{_topdir}')
 
-               local macros_ver=$(rpm -E %rpm_build_macros)
+               local macros_ver=$(rpm -E %?rpm_build_macros)
                if [ -z "$macros_ver" ]; then
                        REPO_DIR=$TOP_DIR/packages
                        PACKAGE_DIR=$TOP_DIR/packages/$ASSUMED_NAME
This page took 0.029602 seconds and 4 git commands to generate.