Source-Changes-HG archive

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

[src/trunk]: src/external/gpl3/gcc fix a typo (from cegger)



details:   https://anonhg.NetBSD.org/src/rev/70b05604b53e
branches:  trunk
changeset: 793814:70b05604b53e
user:      mrg <mrg%NetBSD.org@localhost>
date:      Wed Feb 26 21:18:14 2014 +0000

description:
fix a typo (from cegger)
fix the date call (from tn)

diffstat:

 external/gpl3/gcc/gcc2gcc.old |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r e183bc410b25 -r 70b05604b53e external/gpl3/gcc/gcc2gcc.old
--- a/external/gpl3/gcc/gcc2gcc.old     Wed Feb 26 20:49:26 2014 +0000
+++ b/external/gpl3/gcc/gcc2gcc.old     Wed Feb 26 21:18:14 2014 +0000
@@ -1,6 +1,6 @@
 #! /bin/sh
 #
-#      $NetBSD: gcc2gcc.old,v 1.1 2014/02/26 10:50:23 mrg Exp $
+#      $NetBSD: gcc2gcc.old,v 1.2 2014/02/26 21:18:14 mrg Exp $
 
 # run it like eg:
 #
@@ -13,7 +13,7 @@
 
 usage() {
        echo "Usage: $progname src/external/gpl3/gcc <copy-to-dir>" 1>&2
-       edho "Note that copy-to-dir must not exist." 1>&2
+       echo "Note that copy-to-dir must not exist." 1>&2
        exit 1
 }
 
@@ -55,7 +55,7 @@
 $doit find "$destdir" -name "ChangeLog*" -exec rm -f {} +
 $doit rm -f "$destdir"/gcc2netbsd "$destdir"/gcc2gcc.old
 
-date=$(date +%Y%m%M-%H%M)
+date=$(date +%Y%m%d-%H%M)
 echo GCC copied to gcc.old.  use these commands to import:
 echo cd "$destdir/gcc"
 echo cvs import src/external/gpl3/gcc.old NetBSD src-external-gpl3-gcc-$date



Home | Main Index | Thread Index | Old Index