Skip to content

Commit

Permalink
Make git clones quieter
Browse files Browse the repository at this point in the history
  • Loading branch information
radare committed Oct 6, 2018
1 parent a604c5b commit 2344899
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ RUN DEBIAN_FRONTEND=noninteractive dpkg --add-architecture i386 && \
pip install r2pipe=="$R2_PIPE_PY_VERSION" && \
npm install --unsafe-perm -g "r2pipe@$R2_PIPE_NPM_VERSION" && \
cd /mnt && \
git clone -b "$R2_VERSION" --depth 1 https://github.com/radare/radare2.git && \
git clone -b "$R2_VERSION" -q --depth 1 https://github.com/radare/radare2.git && \
cd radare2 && \
./sys/install.sh && \
make install && \
Expand Down
2 changes: 1 addition & 1 deletion t/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ run tests:
$(MAKE) -C ../radare2-regressions radare2

../radare2-regressions:
cd .. ; git clone --depth 1 https://github.com/radare/radare2-regressions
cd .. ; git clone -q --depth 1 https://github.com/radare/radare2-regressions

create overlay:
cd ../radare2-regressions ; $(SHELL) ./overlay.sh create
Expand Down
4 changes: 2 additions & 2 deletions travis-script
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ set -x

export PATH=${TRAVIS_BUILD_DIR}/install/bin:${PATH}
export LD_LIBRARY_PATH=${TRAVIS_BUILD_DIR}/install/lib/$(uname -m)-linux-gnu:${TRAVIS_BUILD_DIR}/install/lib:${TRAVIS_BUILD_DIR}/install/lib64:${LD_LIBRARY_PATH}
git clone --depth 1 --branch "${R2R_BRANCH}" "${R2R_REPO}" || true # If cloning fails that's not an error: we simply fallback to master.
ls radare2-regressions >/dev/null 2>&1 || git clone --depth 1 --branch "${R2R_DEFAULT_BRANCH}" "${R2R_DEFAULT_REPO}"
git clone -q --depth 1 --branch "${R2R_BRANCH}" "${R2R_REPO}" || true # If cloning fails that's not an error: we simply fallback to master.
ls radare2-regressions >/dev/null 2>&1 || git clone -q --depth 1 --branch "${R2R_DEFAULT_BRANCH}" "${R2R_DEFAULT_REPO}"

if [ "${INSTALL_SYSTEM}" == "meson" ] ; then
echo "Installing with meson + ninja"
Expand Down

0 comments on commit 2344899

Please sign in to comment.