Bug 13057 - /usr/bin/gear-commit: line 66: *: unbound variable
Summary: /usr/bin/gear-commit: line 66: *: unbound variable
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: gear (show other bugs)
Version: unstable
Hardware: all Linux
: P2 normal
Assignee: Dmitry V. Levin
QA Contact: qa-sisyphus
URL:
Keywords:
: 13055 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-10-07 21:25 MSD by Evgenii Terechkov
Modified: 2008-02-28 19:17 MSK (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Evgenii Terechkov 2007-10-07 21:25:39 MSD
Наблюдаю такую картину:

~/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 Evgenii Terechkov 2007-10-07 21:28:38 MSD
Кстати, воспроизводится и в

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

1.2.7-alt1-8-gdbf8ae7