From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 382893858D33; Sat, 6 Apr 2024 17:32:44 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 382893858D33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1712424764; bh=Bt7RlhPQfUPF88p5NJl7cSWv+sYSED2FWeD+AQ68HF8=; h=From:To:Subject:Date:From; b=iK+N8mfwAFU4OrQ+ZouJM0PJwbUN0S0ofC42SCTXdWUS9RTOHHqRqUgYV2e7gjpN+ aYtV8po5RGm+Z6/2ncCAnL9I3wyJzOaIpwsrApxNs1yf3Nnj2XWRHOyUH3y78f53pI Zb/LLrGgV2HQX62F6kETDthSY585OaEBLiy17H1Y= From: "thaines.astro at gmail dot com" To: systemtap@sourceware.org Subject: [Bug releng/31616] New: Fix git_pretty_rev error check in git_version.sh Date: Sat, 06 Apr 2024 17:32:43 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: releng X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: thaines.astro at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: systemtap at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31616 Bug ID: 31616 Summary: Fix git_pretty_rev error check in git_version.sh Product: systemtap Version: unspecified Status: UNCONFIRMED Severity: normal Priority: P2 Component: releng Assignee: systemtap at sourceware dot org Reporter: thaines.astro at gmail dot com Target Milestone: --- diff --git a/git_version.sh b/git_version.sh index e916a37d9..04caaccb9 100755 --- a/git_version.sh +++ b/git_version.sh @@ -219,7 +219,7 @@ if [ "x$git_repo_dir" !=3D "x" ]; then # fi # Grab the "pretty" revision number git_pretty_rev=3D`$GIT describe --dirty --always --abbrev=3D8` - if [ "x$git_shaid" =3D "x" ]; then + if [ "x$git_pretty_rev" =3D "x" ]; then git_errors=3D"${git_errors+${git_errors}; }error running '$GIT describe'" fi # Grab the commit timestamp --=20 You are receiving this mail because: You are the assignee for the bug.=