[PATCH 18/20] - omit the output, we are just interested in the result
Tim Niemeyer
tim.niemeyer at mastersword.de
Do Jul 16 19:52:57 CEST 2015
Hi Steffen
Am Mittwoch, den 15.07.2015, 21:48 +0200 schrieb Steffen Pankratz:
> Signed-off-by: Steffen Pankratz <kratz00 at gmx.de>
Reviewed-by: Tim Niemeyer <tim.niemeyer at mastersword.de>
Tim
> ---
> buildscript | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/buildscript b/buildscript
> index 78e7fb5..95bf243 100755
> --- a/buildscript
> +++ b/buildscript
> @@ -43,7 +43,7 @@ checkout_git(){
> local MYGIT="git -C $DIRECTORY"
> echo "checking out $REPO_URL to $DIRECTORY in version $COMMITID"
> if [ -d $DIRECTORY ]; then
> - if $MYGIT remote -v | grep $REPO_URL ; then
> + if $MYGIT remote -v | grep -q $REPO_URL ; then
> echo "Right remote detected"
> if ! $MYGIT checkout $COMMITID ; then
> echo "commitid not found trying to fetch new commits"
> --
> 2.4.5
>
-------------- nächster Teil --------------
Ein Dateianhang mit Binärdaten wurde abgetrennt...
Dateiname : signature.asc
Dateityp : application/pgp-signature
Dateigröße : 819 bytes
Beschreibung: This is a digitally signed message part
URL : <http://lists.freifunk.net/pipermail/franken-dev-freifunk.net/attachments/20150716/15913f3d/attachment-0002.sig>
Mehr Informationen über die Mailingliste franken-dev