* gcc_release: Don't require a username if running locally.
authorJoseph Myers <jsm28@cam.ac.uk>
Tue, 6 Nov 2001 16:45:37 +0000 (16:45 +0000)
committerJoseph Myers <jsm28@gcc.gnu.org>
Tue, 6 Nov 2001 16:45:37 +0000 (16:45 +0000)
From-SVN: r46809

maintainer-scripts/ChangeLog
maintainer-scripts/gcc_release

index 0faa5abf2fab004e545c20a0e4f634db294d712a..878983a92db3cef0039927547ac6c2779582bb5a 100644 (file)
@@ -1,3 +1,7 @@
+2001-11-06  Joseph S. Myers  <jsm28@cam.ac.uk>
+
+       * gcc_release: Don't require a username if running locally.
+
 2001-11-05  Joseph S. Myers  <jsm28@cam.ac.uk>
 
        * update_web_docs: Eliminate warnings about keeping files from web
index 260266b153d797e9a3432330eebd8ddfbf8362a1..dc8c5fd6e8bcdecbde0e3847a831d07554f3a0df 100755 (executable)
@@ -470,7 +470,7 @@ done
 shift `expr ${OPTIND} - 1`
 
 # Perform consistency checking.
-if [ -z ${CVS_USERNAME} ]; then
+if [ ${LOCAL} -eq 0 ] && [ -z ${CVS_USERNAME} ]; then
   error "No username specified"
 fi