Warning!

Notice: the grml team is migrating from Mercurial to Git.
Please visit git.grml.org instead!

hg-autodoc: fixed tocfile format (thx mika for reporting problems with tocfile handling)
authorMichael Gebetsroither <michael.geb@gmx.at>
Sun Apr 06 14:06:03 2008 +0200 (7 months ago)
changeset 6861c0c5eee3a3
manifest61c0c5eee3a3
parent 67bbbcd28e9a48
child 7048889431ff0f
hg-autodoc: fixed tocfile format (thx mika for reporting problems with tocfile handling)
files/hg-autodoc
--- a/files/hg-autodoc Sun Apr 06 13:59:21 2008 +0200
+++ b/files/hg-autodoc Sun Apr 06 14:06:03 2008 +0200
@@ -62,7 +62,7 @@ if [ ! -e "$SRC" ]; then
if [ ! -e "$SRC" ]; then
die "E: source does not exist: $SRC"
fi
-echo '' >$OPT_TOCFILE_ || die "E: could not clear toc helper file: $OPT_TOCFILE_"
+echo -n '' >$OPT_TOCFILE_ || die "E: could not clear toc helper file: $OPT_TOCFILE_"
OPT_EXCLUDE_="`echo $OPT_EXCLUDE_ |tr ',' '\n'`"
OPT_EXCLUDE_="$OPT_EXCLUDE_