silence
authorMichael Wallner <mike@php.net>
Mon, 1 Jul 2013 07:30:46 +0000 (09:30 +0200)
committerMichael Wallner <mike@php.net>
Mon, 1 Jul 2013 07:30:46 +0000 (09:30 +0200)
lib/btr/btr.sh
lib/btr/source/git.mk

index 2bc8e3ef90256d9af55da7475e542a114d35eaf1..96376efcfeba08ac79bf41d50d4a6ef8f925727a 100755 (executable)
@@ -84,7 +84,7 @@ function parseopts {
                                ;;
                        -b|--build)
                                case "$2" in
-                                       php|pecl)
+                                       *)
                                                BUILD_RULES="$2"
                                                ;;
                                esac
@@ -144,7 +144,7 @@ function setup {
        export CONFIG_REPORT="btr+config-$BUILD-$DATE"
        export BUILD_REPORT="btr+build-$BUILD-$DATE"
        export TEST_REPORT="btr+tests-$BUILD-$DATE"
-       export LAST_REPORT=$(basename $(ls -t "$BTRDIR/btr+tests-$BUILD"* | tail -n1))
+       export LAST_REPORT=$(basename $(ls -t "$BTRDIR/btr+tests-$BUILD"* 2>/dev/null | tail -n1) 2>/dev/null)
        export REPORT=""
 }
 
index cfad07fab5ff42f8809d9051660ff6bba7003b05..4e80904dc9ddea44117a7aebe38fe1f70ef2a88e 100644 (file)
@@ -10,7 +10,7 @@ pull: $(CLEAN_DIR)
        git pull -q
 
 $(CLEAN_DIR):
-       git clone $(SOURCE_URL) $(CLEAN_DIR)
+       git clone -q $(SOURCE_URL) $(CLEAN_DIR)
 
 $(BRANCH_DIR): $(CLEAN_DIR)
        git-new-workdir $(CLEAN_DIR) $(BRANCH_DIR) $(BRANCH)