- Fix welcome.txt

This commit is contained in:
Christian Schlittchen 2001-12-16 10:11:29 +00:00
parent 6963a11ce7
commit 4339731655
1 changed files with 3 additions and 3 deletions

View File

@ -2786,7 +2786,7 @@ reports(void)
if(f->age == 1) { if(f->age == 1) {
fprintf(BAT, "ls %s.nr %s.cr | zip -m -j -9 -@ %s.zip\n", fprintf(BAT, "ls %s.nr %s.cr | zip -m -j -9 -@ %s.zip\n",
factionid(f), factionid(f), factionid(f)); factionid(f), factionid(f), factionid(f));
fprintf(BAT, "zip -j -9 %s.zip res/%s/%s/welcome.txt\n", factionid(f), global.welcomepath, locale_name(f->locale)); fprintf(BAT, "zip -j -9 %s.zip ../res/%s/%s/welcome.txt", factionid(f), global.welcomepath, locale_name(f->locale));
} else { } else {
fprintf(BAT, "ls %s.nr %s.cr | zip -m -j -9 -@ %s.zip\n", fprintf(BAT, "ls %s.nr %s.cr | zip -m -j -9 -@ %s.zip\n",
factionid(f), factionid(f), factionid(f)); factionid(f), factionid(f), factionid(f));
@ -2799,7 +2799,7 @@ reports(void)
if (f->age == 1) { if (f->age == 1) {
fprintf(shfp, fprintf(shfp,
" \\\n\t\"text/plain\" \"Willkommen\" res/%s/%s/welcome.txt\n", global.welcomepath, locale_name(f->locale)); " \\\n\t\"text/plain\" \"Willkommen\" ../res/%s/%s/welcome.txt", global.welcomepath, locale_name(f->locale));
} }
fprintf(BAT, "bzip2 -9v `ls %s.nr %s.cr`\n", fprintf(BAT, "bzip2 -9v `ls %s.nr %s.cr`\n",
@ -2828,7 +2828,7 @@ reports(void)
if (f->age == 1) { if (f->age == 1) {
fprintf(shfp, fprintf(shfp,
" \\\n\t\"text/plain\" \"Willkommen\" res/%s/%s/welcome.txt\n", global.welcomepath, locale_name(f->locale)); " \\\n\t\"text/plain\" \"Willkommen\" ../res/%s/%s/welcome.txt", global.welcomepath, locale_name(f->locale));
} }
if (!nonr && f->options & wants_report) if (!nonr && f->options & wants_report)