emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 84c7d4b: * admin/upload-manuals: Move a basic check


From: Glenn Morris
Subject: [Emacs-diffs] master 84c7d4b: * admin/upload-manuals: Move a basic check earlier.
Date: Sun, 15 Sep 2019 19:36:21 -0400 (EDT)

branch: master
commit 84c7d4bccca41810ae28e3f13382b1021502cb4b
Author: Glenn Morris <address@hidden>
Commit: Glenn Morris <address@hidden>

    * admin/upload-manuals: Move a basic check earlier.
---
 admin/upload-manuals | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/admin/upload-manuals b/admin/upload-manuals
index 08b47d7..e37128a 100755
--- a/admin/upload-manuals
+++ b/admin/upload-manuals
@@ -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..."
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]