]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
- merge
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 16 Mar 2007 20:59:15 +0000 (20:59 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    pearize.sh -> 1.43

pearize.sh

index df2a2198fa3c758a26657917af99aa772b7499e8..bbfea5c5756a54545734ce904e1a51cbeebfdba6 100644 (file)
@@ -26,11 +26,12 @@ if [ ! -f "$spec" ]; then
        echo >&2 "$spec doesn't exist?"
        exit 1
 fi
-echo "Processing $spec"
 
-if [[ "$(rpm -q php-pear-PEAR_Command_Packaging)" = *is*not* ]]; then
-       echo >&2 "Please install php-pear-PEAR_Command_Packaging package"
+if [[ "$(rpm -q php-pear-PEAR_Command_Packaging)" == *is?not* ]]; then
+       echo >&2 "Please install php-pear-PEAR_Command_Packaging"
+       exit 1
 fi
+echo "Processing $spec"
 
 getsource() {
        local spec="$1"
This page took 0.030948 seconds and 4 git commands to generate.