[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gendocs.sh patch
From: |
Simon Josefsson |
Subject: |
Re: gendocs.sh patch |
Date: |
Sun, 23 Nov 2003 14:17:34 +0100 |
User-agent: |
Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) |
Eli Zaretskii <address@hidden> writes:
>> From: Simon Josefsson <address@hidden>
>> Date: Sun, 23 Nov 2003 10:04:15 +0100
>>
>> -html_node_tgz_size="`calcsize $outdir/$PACKAGE_html_node.tar.gz`"
>> -mv ${split_html_dir} $outdir/html_node
>> +html_node_tgz_size="`calcsize $outdir/${PACKAGE}_html_node.tar.gz`"
>> +rm -f $outdir/html_node/*.html
>> +mkdir -p $outdir/html_node/
>> +mv ${split_html_dir}/*.html $outdir/html_node/
>> +rmdir ${split_html_dir}
>
> With some losing shels, the "mv" command could fail if there's too
> many *.html files (Arg list too long). So perhaps use find and xargs.
Yes, but *.html is already used in the file, so I thought it was safe.
Using find/xargs goes beyond fixing my problem, so I'll leave it to
someone else to rewrite *.html into find/xargs.