Skip to content
This repository was archived by the owner on Nov 4, 2021. It is now read-only.

Commit d4bb83d

Browse files
authored
Merge pull request #66 from vmedea/nopager
scripts: Avoid holding up build process in git log
2 parents 9c66227 + f2e0391 commit d4bb83d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/_common.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ function git_clone {
6161
git -C $dir_name checkout $git_commit
6262
[[ ! -z "$update_submodules" ]] && git -C $dir_name submodule init
6363
[[ ! -z "$update_submodules" ]] && git -C $dir_name submodule update
64-
git -C $dir_name log -1
64+
git -C $dir_name --no-pager log -1
6565

6666
# -- Copy the upstream sources into the build directory
6767
rsync -a $dir_name $BUILD_DIR --exclude .git

0 commit comments

Comments
 (0)