Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 751406 - bootstrap-prefix.sh: syntax error near unexpected token ';;'
Summary: bootstrap-prefix.sh: syntax error near unexpected token ';;'
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
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: ---


Attachments
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):

https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=272dff6b38ab69bae0d0a1658aae2f55eeab28cf

commit 272dff6b38ab69bae0d0a1658aae2f55eeab28cf
Author:     Fabian Groffen <grobian@gentoo.org>
AuthorDate: 2020-10-27 07:09:43 +0000
Commit:     Fabian Groffen <grobian@gentoo.org>
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
    
    Closes: https://bugs.gentoo.org/751406
    Signed-off-by: Fabian Groffen <grobian@gentoo.org>

 scripts/bootstrap-prefix.sh | 2 --
 1 file changed, 2 deletions(-)