New commits:
commit 9bb8d8839c19e7f1bb8787c8586ee56f2dfdaf58
Author: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
Commit: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
+ * libperlcpan, libfreshmeatxml, librubyraa: fix "retrieve" typos
+ * libcore: forgot to delete the temporary long.description
+ improved andand_lines to be idempotent
diff --git a/var/lib/quill/ChangeLog b/var/lib/quill/ChangeLog
index 2f9802b..c0cd475 100644
--- a/var/lib/quill/ChangeLog
+++ b/var/lib/quill/ChangeLog
@@ -1,3 +1,11 @@
+2007-04-14 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
+ * libperlcpan, libfreshmeatxml, librubyraa: fix "retrieve" typos
+ * version: 0.2.4-rc15
+
+2007-04-12 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
+ * libcore: forgot to delete the temporary long.description
+ improved andand_lines to be idempotent
+
2007-04-11 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
* libcore: made the url checkers timeout after 30s
* libcore, quill: added check_description_wrap
diff --git a/var/lib/quill/modules/libcore b/var/lib/quill/modules/libcore
index 75c2c5f..f0b6fab 100644
--- a/var/lib/quill/modules/libcore
+++ b/var/lib/quill/modules/libcore
@@ -461,13 +461,14 @@ function dir_check() {
}
#---
-## @Synopsis adds && to all full lines not ending by and escape \ or last
line
+## @Synopsis adds && to all full lines not already ending with &&, \
+## @Synopsis or being the last line
##
## @Globals none
#---
function andand_lines() {
local file="$1"
- sed -e 's/^ *$//' -e 's/[^\\]$/& \&\&/' "$file" |
+ sed -e 's/^ *$//' -e 's/[^\\&]\s*$/& \&\&/' "$file" |
tac |
awk '{ if (removed!=1){ if (sub("&&$","") > 0){ removed=1 }}; print }' |
tac > "temporary-$file"
@@ -515,16 +516,16 @@ function check_description_wrap(){
sed -n '/cat *<< *EOF/,/EOF/p' DETAILS > long.description
awk '{ if(length($0)>a) a=length($0)} \
END{if(a>80)exit 1; else exit 0}' \
- long.description && return 0
+ long.description && rm long.description && return 0