From b35f72611b2cc84bdd3e46cc30710788107c0b4b Mon Sep 17 00:00:00 2001 From: Davide Madrisan Date: Sat, 17 Dec 2011 13:26:49 +0100 Subject: [PATCH] pck-update: another fix for git:9d85fd2b1d2c0d532229ff858e15d2ba3f793043 --- plugins/pck-update.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/pck-update.in b/plugins/pck-update.in index 4f12a2a..2f0c946 100644 --- a/plugins/pck-update.in +++ b/plugins/pck-update.in @@ -478,7 +478,8 @@ rpm -q $USER_RPMDEFINE_OPTS --specfile --specedit $SRPM_SPECFILE_WITH_PATH \ [ "$SPEC_BUILDREQUIRES" ] || specfile.getvars -s $SPECFILE_PREPROCESSED SPEC_BUILDREQUIRES [ "$SPEC_BUILDROOT" ] || specfile.getvars -s $SPECFILE_PREPROCESSED SPEC_BUILDROOT - SPEC_OBSOLETES_ESCAPED=`echo "(${SPEC_OBSOLETES[*]})" | sed "s|<|\<|;s|>|\>|"` + # escape '<' and '>' characters + SPEC_OBSOLETES_ESCAPED=`echo "${SPEC_OBSOLETES[*]}" | sed "s|<|\<|;s|>|\>|"` echo "\ SPEC_NAME=\"$SPEC_NAME\"