]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
- fixed improper usage of cvs source in poldek.conf error.
authoryoshi <yoshi@pld-linux.org>
Thu, 25 Dec 2003 11:54:47 +0000 (11:54 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- now only testing $?

Changed files:
    builder.sh -> 1.238

builder.sh

index d8c73c6f210a159947c1601a6c1a9277a6f7c326..2113b99d88e4903f780d8dcd2936c4025fb7b529 100644 (file)
@@ -128,7 +128,8 @@ fi
 # Example grep cvs /etc/poldek.conf:
 # source = cvs /home/users/yoshi/rpm/RPMS/
 if [ "$UPDATE_POLDEK_INDEXES" = "yes" ]; then
-       if [ ! $(poldek -l -n ${POLDEK_SOURCE} >/dev/null) ]; then 
+       poldek -l -n ${POLDEK_SOURCE} >/dev/null)
+       if [ ! "$?" == "0" ]; then 
                echo "Using improper source '${POLDEK_SOURCE}' in /etc/poldek.conf"
                echo "Fix it and try to continue"
                exit 7
This page took 0.036872 seconds and 4 git commands to generate.