From: Michael Wallner Date: Mon, 1 Jul 2013 07:30:46 +0000 (+0200) Subject: silence X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=55181f92726b4306007e3bac012bbeff71ca4944;p=m6w6%2Fbtr silence --- 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)