Accepting request 241031 from home:olh:branches:openSUSE:Tools

- Fix shell syntax error in rpm-check.sh

[ 1141s] compare /.build.oldpackages/libvlccore7-2.1.5-214.1.x86_64.rpm /usr/src/packages/RPMS/x86_64/libvlccore7-2.1.5-214.2.x86_64.rpm
[ 1144s] tr: missing operand
[ 1144s] Try `tr --help' for more information.
[ 1144s] /usr/lib/build/rpm-check.sh: line 431: \n: command not found
[ 1144s] WARNING: no idea about /usr/lib64/libvlccore.so.7.0.0

OBS-URL: https://build.opensuse.org/request/show/241031
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=143
This commit is contained in:
Stephan Kulow 2014-07-15 09:52:38 +00:00 committed by Git OBS Bridge
parent e834b3955a
commit 59627a57a0
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jul 15 11:42:09 CEST 2014 - ohering@suse.de
- Fix shell syntax error in rpm-check.sh
-------------------------------------------------------------------
Mon Jul 7 08:28:45 UTC 2014 - aj@suse.com

View File

@ -463,8 +463,7 @@ check_single_file()
echo "" >$file1
echo "" >$file2
# Don't compare .build-id and .gnu_debuglink sections
for section in $(objdump -s new/$file | grep "Contents of section .*:" | sed -r "s,.* (\..*):,\1,g" | grep -v -e "\.build-id" -e "\.gnu_debuglink" | tr
"\n" " "); do
for section in $(objdump -s new/$file | grep "Contents of section .*:" | sed -r "s,.* (\..*):,\1,g" | grep -v -e "\.build-id" -e "\.gnu_debuglink" | tr "\n" " "); do
objdump -s -j $section old/$file | sed "s,old/,," >> $file1
objdump -s -j $section new/$file | sed "s,new/,," >> $file2
done