Accepting request 64169 from openSUSE:Tools

Accepted submit request 64169 from user a_jaeger

OBS-URL: https://build.opensuse.org/request/show/64169
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/build-compare?expand=0&rev=48
This commit is contained in:
Sascha Peilicke 2011-03-16 10:34:14 +00:00 committed by Git OBS Bridge
commit 645b643ab5
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Mar 15 08:36:26 UTC 2011 - aj@suse.de
- Use perl -e instead of -E (bnc#679562).
-------------------------------------------------------------------
Mon Feb 28 14:00:35 UTC 2011 - aj@suse.de

View File

@ -1,6 +1,6 @@
#! /bin/bash
#
# Copyright (c) 2009, 2010 SUSE Linux Product GmbH, Germany.
# Copyright (c) 2009, 2010, 2011 SUSE Linux Product GmbH, Germany.
# Licensed under GPL v2, see COPYING file for details.
#
# Written by Michael Matz and Stephan Coolo
@ -219,8 +219,8 @@ check_single_file()
done
return $ret;;
*.pyc|*.pyo)
perl -E "open fh, '+<', 'old/$file'; seek fh, 3, SEEK_SET; print fh '0000';"
perl -E "open fh, '+<', 'new/$file'; seek fh, 3, SEEK_SET; print fh '0000';"
perl -e "open fh, '+<', 'old/$file'; seek fh, 3, SEEK_SET; print fh '0000';"
perl -e "open fh, '+<', 'new/$file'; seek fh, 3, SEEK_SET; print fh '0000';"
;;
*.bz2)
bunzip2 -c old/$file > old/${file/.bz2/}