]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
- Invalid poldek source in poldek.conf bug fixed
authoryoshi <yoshi@pld-linux.org>
Wed, 12 Nov 2003 08:32:41 +0000 (08:32 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    builder.sh -> 1.209

builder.sh

index 7347a11124ba22f2c031465a4b01469c8b785247..92230d88a86a24287eb52b31358d8a4c4ebedad5 100644 (file)
@@ -99,11 +99,13 @@ POLDEK_SOURCE="cvs"
 
 # Example grep cvs /etc/poldek.conf:
 # source = cvs /home/users/yoshi/rpm/RPMS/
-POLDEK_SOURCE_VALIDITY="`grep ${POLDEK_SOURCE} /etc/poldek.conf|grep -v ^#`"
-if [ "${POLDEK_SOURCE_VALIDITY}" == "" ]; then 
-       echo "Using improper source '${POLDEK_SOURCE}' in /etc/poldek.conf"
-       echo "Fix it and try to contiune"
-       exit 7
+if [ "$UPDATE_POLDEK_INDEXES" == "yes" ]; then
+       POLDEK_SOURCE_VALIDITY="`grep ${POLDEK_SOURCE} /etc/poldek.conf|grep -v ^#`"
+       if [ "${POLDEK_SOURCE_VALIDITY}" == "" ]; then 
+               echo "Using improper source '${POLDEK_SOURCE}' in /etc/poldek.conf"
+               echo "Fix it and try to contiune"
+               exit 7
+       fi
 fi
 
 if [ -f ~/etc/builderrc ]; then
@@ -891,6 +893,7 @@ if [ "$FETCH_BUILD_REQUIRES" == "yes" ]; then
                                         NOT_INSTALLED_PACKAGES="$NOT_INSTALLED_PACKAGES $package"
                                         ;;
                                 0)
+                                       INSTALLED_PACKAGES="$package $INSTALLED_PACKAGES"
                                         ;;
                                 esac
                         else
This page took 0.047669 seconds and 4 git commands to generate.