File rpmrebuild-fix-bashisms.patch of Package rpmrebuild

diff -Ndur rpmrebuild/plugins/demofiles.sh rpmrebuild-fix-bashisms/plugins/demofiles.sh
--- rpmrebuild/plugins/demofiles.sh	2008-04-03 09:27:39.000000000 +0300
+++ rpmrebuild-fix-bashisms/plugins/demofiles.sh	2014-12-28 15:58:30.290727796 +0200
@@ -25,11 +25,11 @@
 # with a file plugin
 version=1.0
 ###############################################################################
-function msg () {
+msg() {
 	echo >&2 $*
 }
 ###############################################################################
-function syntaxe () {
+syntaxe() {
 	msg "this plugin just show how to modifiy files"
 	msg "it must be called with --change-files option"
 	msg "-h|--help : this help"
openSUSE Build Service is sponsored by