This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Snapshot script fix


Mark's last patch to gcc_release broke copying files to the FTP
directory for snapshots.  Patch applied:

Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/maintainer-scripts/ChangeLog,v
retrieving revision 1.42
diff -u -r1.42 ChangeLog
--- ChangeLog	21 May 2002 16:34:01 -0000	1.42
+++ ChangeLog	21 May 2002 16:34:59 -0000
@@ -1,5 +1,7 @@
 2002-05-21  Joseph S. Myers  <jsm28@cam.ac.uk>
 
+	* gcc_release: Do upload files when local.
+
 	* snapshot-README, snapshot-index.html: Remove chill.
 
 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
Index: gcc_release
===================================================================
RCS file: /cvs/gcc/gcc/maintainer-scripts/gcc_release,v
retrieving revision 1.14
diff -u -r1.14 gcc_release
--- gcc_release	9 May 2002 05:49:55 -0000	1.14
+++ gcc_release	21 May 2002 16:35:00 -0000
@@ -349,9 +349,7 @@
       # Make sure the file will be readable on the server.
       chmod a+r ${x}
       # Copy it.
-      if [ $LOCAL -eq 0 ]; then
-        ${SCP} ${x} ${UPLOAD_PATH} || error "Could not upload ${x}"
-      fi
+      ${SCP} ${x} ${UPLOAD_PATH} || error "Could not upload ${x}"
     fi
   done
 }

-- 
Joseph S. Myers
jsm28@cam.ac.uk


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]