diff options
Diffstat (limited to 'scripts/unfuzzy-xml')
-rwxr-xr-x | scripts/unfuzzy-xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/unfuzzy-xml b/scripts/unfuzzy-xml index 314320a85..bd324d26a 100755 --- a/scripts/unfuzzy-xml +++ b/scripts/unfuzzy-xml @@ -28,7 +28,7 @@ for XML in $MODIFIED; do PREVREV="$(svn log en/$XML | egrep "^r[0-9]{5} \| .* \| [0-9]* lines?" | \ head -n 2 | tail -n 1 | sed "s/^r\([0-9]*\).*$/\1/")" echo "$XML: $PREVREV -> $REV" - if [ "$PREVREV"] && [ "$PREVREV" -lt "$REV" ]; then + if [ "$PREVREV" ] && [ "$PREVREV" -lt "$REV" ]; then sed -i "s/^\(.*original version: \)$PREVREV\(.*\)$/\1$REV\2/" */$XML else echo "*** Invalid previous revision: '$PREVREV'" |