Skip to content
This repository was archived by the owner on May 24, 2024. It is now read-only.

Commit cae5278

Browse files
Support console output in example run script
Signed-off-by: Łukasz Gryglicki <[email protected]>
1 parent 385e82b commit cae5278

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

scripts/example_run.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,7 @@
11
#!/bin/bash
2-
clear; GIT_TAGS="c,d,e" ./scripts/git.sh --git-url='https://github.com/lukaszgryglicki/trailers-test' --git-date-from "2015-01" --git-date-to "2022-01" --git-pack-size=100 --git-tags="a,b,c" --git-project=Kubernetes --git-skip-cache-cleanup=1 $*
2+
if [ ! -z "$CONSOLE" ]
3+
then
4+
GIT_TAGS="c,d,e" ./scripts/git.sh --git-url='https://github.com/lukaszgryglicki/trailers-test' --git-date-from "2015-01" --git-date-to "2022-01" --git-pack-size=100 --git-tags="a,b,c" --git-project=Kubernetes --git-skip-cache-cleanup=1 --git-stream='' $*
5+
else
6+
GIT_TAGS="c,d,e" ./scripts/git.sh --git-url='https://github.com/lukaszgryglicki/trailers-test' --git-date-from "2015-01" --git-date-to "2022-01" --git-pack-size=100 --git-tags="a,b,c" --git-project=Kubernetes --git-skip-cache-cleanup=1 $*
7+
fi

0 commit comments

Comments
 (0)