https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102664

--- Comment #32 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #30)
> I'd have done printf "%s [%s]?" "$question" "$default" instead, but they're
> equivalent.

Oops, equivalent except for the missing space after the question mark in my
version.

There are still other issues on Solaris though:


$ PATH=/usr/xpg4/bin:$PATH ./contrib/gcc-git-customization.sh 
Your name [Jonathan Wakely]? 
Your email address (for git commits) [jwak...@redhat.com]? 
Local name for upstream repository [origin]? 
sed: illegal option -- r
Usage:  sed [-n] script [file...]
        sed [-n] [-e script]...[-f script_file]...[file...]
Account name on gcc.gnu.org (for your personal branches area) [remote_id]? redi
./contrib/gcc-git-customization.sh[16]: eval[1]: =redi: not found [No such file
or directory]

Local branch prefix for personal branches you want to share
(local branches starting <prefix>/ can be pushed directly to your
personal area on the gcc server) [me]? 

Install prepare-commit-msg git hook for 'git commit-mklog' alias [yes]? 
fatal: ambiguous argument 'hooks': unknown revision or path not in the working
tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
cp: illegal option -- git-path
cp: Insufficient arguments (1)
Usage: cp [-f] [-i] [-p] [-@] [-/] f1 f2
       cp [-f] [-i] [-p] [-@] [-/] f1 ... fn d1
       cp -r|-R [-H|-L|-P] [-f] [-i] [-p] [-@] [-/] d1 ... dn-1 dn
install: cp --git-path
/export/home/jwakely/src/gcc/contrib/prepare-commit-msg/--git-path failed 
sed: illegal option -- r
Usage:  sed [-n] script [file...]
        sed [-n] [-e script]...[-f script_file]...[file...]
Setting up tracking for personal namespace  in remotes/users/me
fatal: Invalid refspec '+refs/users//heads/*:refs/remotes/users/me/*'


I'll look into those ...

Reply via email to