diff options
author | Frans Pop <elendil@planet.nl> | 2006-08-07 21:05:21 +0000 |
---|---|---|
committer | Frans Pop <elendil@planet.nl> | 2006-08-07 21:05:21 +0000 |
commit | 4cb15e7cc2b6dcd6950e6dbc033b03020a765c2f (patch) | |
tree | 49a2a3ecc82cdce62ac96bf608a879202c9c6050 /scripts/unfuzzy-xml | |
parent | 29ba2e2cf1e8043f68702e111f12b097446058b9 (diff) | |
download | installation-guide-4cb15e7cc2b6dcd6950e6dbc033b03020a765c2f.zip |
Fix syntax error
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'" |