* admin/upload-manuals: Move a basic check earlier.
This commit is contained in:
parent
b3e4b50578
commit
84c7d4bccc
1 changed files with 3 additions and 3 deletions
|
@ -87,6 +87,9 @@ OPTIND=1
|
|||
|
||||
[ $# -eq 1 ] || usage
|
||||
|
||||
[ -e html_mono/emacs.html ] && [ -e html_node/emacs/index.html ] || \
|
||||
die "Current directory does not look like the manual/ directory"
|
||||
|
||||
[ "$version$umessage" ] || \
|
||||
die "Could not get version to use for commit message"
|
||||
|
||||
|
@ -95,9 +98,6 @@ webdir=$1
|
|||
[ -e $webdir/CVS/Entries ] && [ -e $webdir/refcards/pdf/refcard.pdf ] || \
|
||||
die "$webdir does not look like a checkout of the Emacs webpages"
|
||||
|
||||
[ -e html_mono/emacs.html ] && [ -e html_node/emacs/index.html ] || \
|
||||
die "Current directory does not like the manual/ directory"
|
||||
|
||||
|
||||
echo "Doing refcards..."
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue