Bug 13057 - /usr/bin/gear-commit: line 66: *: unbound variable
: /usr/bin/gear-commit: line 66: *: unbound variable
Status: CLOSED FIXED
: Sisyphus
(All bugs in Sisyphus/gear)
: unstable
: all Linux
: P2 normal
Assigned To:
:
:
:
:
:
  Show dependency tree
 
Reported: 2007-10-07 21:25 by
Modified: 2008-02-28 19:17 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2007-10-07 21:25:39
Наблюдаю такую картину:

~/git/fprobe-ulog$ gear-commit -v                                              
                                         
* no commit message?  aborting commit.
[1]    28043 exit 1     gear-commit -v
~/git/fprobe-ulog$ gear-commit                                                 
                                         
/usr/bin/gear-commit: line 66: *: unbound variable
[1]    28107 exit 1     gear-commit
~/git/fprobe-ulog$ rpm -q `rpm -qf /usr/bin/gear-commit`                       
                                        
gear-1.2.7-alt1


Пустое сообщение коммита, разумеется, сделал специально. Т.е. без "-v"
закоммитить не выходит. Так как (как я себе представляю) оно берёт сообщение для
коммита непосредственно из лежащего тут же спека, то привожу и это:

~/git/fprobe-ulog$ grep -A5 changelog fprobe-ulog.spec                         
                                          
%changelog
* Sun Oct  7 2007 Terechkov Evgenii <evg@altlinux.ru> 1.1-alt3
- Repacked with security optimisation (--with-hash=crc16) and debug output of
non-fatal runtime errors
- Init script (Source1) updated to workaround stale pidfile problem
- Minor spec changes and cleanups
------- Comment #1 From 2007-10-07 21:28:38 -------
Кстати, воспроизводится и в

gear-1.2.6-alt1
gear-1.2.5-alt1
------- Comment #2 From 2007-10-12 02:53:54 -------
*** Bug 13055 has been marked as a duplicate of this bug. ***
------- Comment #3 From 2007-10-19 10:19:17 -------
Исправлено Sun, 7 Oct 2007 19:17:08
В http://git.altlinux.org/people/legion/packages/gear.git

1.2.7-alt1-8-gdbf8ae7