Bug 13055

Summary: /usr/bin/gear-commit: line 66: *: unbound variable
Product: Sisyphus Reporter: Evgenii Terechkov <evg>
Component: gearAssignee: Dmitry V. Levin <ldv>
Status: CLOSED DUPLICATE QA Contact: qa-sisyphus
Severity: critical    
Priority: P2 CC: glebfm, ldv, legion, placeholder
Version: unstable   
Hardware: all   
OS: Linux   

Description Evgenii Terechkov 2007-10-07 20:55:33 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 Dmitry V. Levin 2007-10-12 02:53:53 MSD

*** This bug has been marked as a duplicate of 13057 ***