From 55181f92726b4306007e3bac012bbeff71ca4944 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Mon, 1 Jul 2013 09:30:46 +0200 Subject: [PATCH] silence --- lib/btr/btr.sh | 4 ++-- lib/btr/source/git.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/btr/btr.sh b/lib/btr/btr.sh index 2bc8e3e..96376ef 100755 --- a/lib/btr/btr.sh +++ b/lib/btr/btr.sh @@ -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="" } diff --git a/lib/btr/source/git.mk b/lib/btr/source/git.mk index cfad07f..4e80904 100644 --- a/lib/btr/source/git.mk +++ b/lib/btr/source/git.mk @@ -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) -- 2.30.2