diff --git a/libburn/trunk/cdrskin/convert_man_to_html.sh b/libburn/trunk/cdrskin/convert_man_to_html.sh
index db909ba9..912b46a9 100755
--- a/libburn/trunk/cdrskin/convert_man_to_html.sh
+++ b/libburn/trunk/cdrskin/convert_man_to_html.sh
@@ -16,7 +16,7 @@ manpage="cdrskin"
raw_html=$(pwd)/"cdrskin/raw_man_1_cdrskin.html"
htmlpage=$(pwd)/"cdrskin/man_1_cdrskin.html"
-if test -r "$manpage"
+if test -r "$man_dir"/"$manpage".1
then
dummy=dummy
else
@@ -56,7 +56,7 @@ then
-e 's/^If you only got one CD capable drive/\
If you only got one CD capable drive/' \
-e 's/Emulated drives:<\/b>/\
Emulated drives:<\/b>/' \
-e 's/^Alphabetical list of options/\
Alphabetical list of options/' \
- -e 's/and for all others\.<\/td><\/table>/and for all others.<\/td><\/table>