Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 751406 - syntax error near unexpected token ';;'
Summary: syntax error near unexpected token ';;'
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Gentoo Prefix
Keywords: PATCH
Depends on:
Blocks: 755644
  Show dependency tree
Reported: 2020-10-26 22:15 UTC by Alexander Bezrukov
Modified: 2020-11-20 01:32 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---

A fix for the copy-and-paste mistake in commit c87ecd828f4b4de9ba80c32d3eaf19bfcfc6deea (bash-syntax.patch,365 bytes, patch)
2020-10-26 22:16 UTC, Alexander Bezrukov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Bezrukov 2020-10-26 22:15:18 UTC
The commit c87ecd828f4b4de9ba80c32d3eaf19bfcfc6deea aimed to fix the bug 751067 contains a copy-and-paste error, by mistake the code for the *"Apple clang version "* pattern contains extra ;; and esac, therefore is the syntax error.

I will attach the patch in the next comment.
Comment 1 Alexander Bezrukov 2020-10-26 22:16:28 UTC
Created attachment 668744 [details, diff]
A fix for the copy-and-paste mistake in commit c87ecd828f4b4de9ba80c32d3eaf19bfcfc6deea
Comment 2 Larry the Git Cow gentoo-dev 2020-10-27 07:10:49 UTC
The bug has been closed via the following commit(s):

commit 272dff6b38ab69bae0d0a1658aae2f55eeab28cf
Author:     Fabian Groffen <>
AuthorDate: 2020-10-27 07:09:43 +0000
Commit:     Fabian Groffen <>
CommitDate: 2020-10-27 07:09:43 +0000

    scripts/bootstrap-prefix: fix syntax error due to copy'n'paste
    Thanks Alexander Bezrukov for the patch
    Signed-off-by: Fabian Groffen <>

 scripts/ | 2 --
 1 file changed, 2 deletions(-)