Source-Changes-HG archive

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

[src/trunk]: src/distrib/x68k/floppies remove unnecessary stuff



details:   https://anonhg.NetBSD.org/src/rev/86942cf0ea95
branches:  trunk
changeset: 526822:86942cf0ea95
user:      lukem <lukem%NetBSD.org@localhost>
date:      Sun May 12 09:47:06 2002 +0000

description:
remove unnecessary stuff

diffstat:

 distrib/x68k/floppies/list2sh.awk |  55 ---------------------------------------
 distrib/x68k/floppies/runlist.sh  |  13 ---------
 2 files changed, 0 insertions(+), 68 deletions(-)

diffs (76 lines):

diff -r 1c653f8207dd -r 86942cf0ea95 distrib/x68k/floppies/list2sh.awk
--- a/distrib/x68k/floppies/list2sh.awk Sun May 12 09:01:45 2002 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,55 +0,0 @@
-#      $NetBSD: list2sh.awk,v 1.2 1996/08/30 20:03:57 thorpej Exp $
-
-BEGIN {
-       printf("cd ${CURDIR}\n");
-       printf("\n");
-}
-/^$/ || /^#/ {
-       print $0;
-       next;
-}
-$1 == "COPY" {
-       printf("echo '%s'\n", $0);
-       printf("rm -f ${TARGDIR}/%s\n", $3);
-       printf("cp %s ${TARGDIR}/%s\n", $2, $3);
-       next;
-}
-$1 == "LINK" {
-       printf("echo '%s'\n", $0);
-       printf("rm -f ${TARGDIR}/%s\n", $3);
-       printf("(cd ${TARGDIR}; ln %s %s)\n", $2, $3);
-       next;
-}
-$1 == "SYMLINK" {
-       printf("echo '%s'\n", $0);
-       printf("rm -f ${TARGDIR}/%s\n", $3);
-       printf("(cd ${TARGDIR}; ln -s %s %s)\n", $2, $3);
-       next;
-}
-$1 == "COPYDIR" {
-       printf("echo '%s'\n", $0);
-       printf("(cd ${TARGDIR}/%s && find . ! -name . | xargs /bin/rm -rf)\n",
-           $3);
-       printf("(cd %s && find . ! -name . | cpio -pdamu ${TARGDIR}/%s)\n", $2,
-           $3);
-       next;
-}
-$1 == "SPECIAL" {
-       printf("echo '%s'\n", $0);
-       printf("(cd ${TARGDIR};");
-       for (i = 2; i <= NF; i++)
-               printf(" %s", $i);
-       printf(")\n");
-       next;
-}
-{
-       printf("echo '%s'\n", $0);
-       printf("echo 'Unknown keyword \"%s\" at line %d of input.'\n", $1, NR);
-       printf("exit 1\n");
-       exit 1;
-}
-END {
-       printf("\n");
-       printf("exit 0\n");
-       exit 0;
-}
diff -r 1c653f8207dd -r 86942cf0ea95 distrib/x68k/floppies/runlist.sh
--- a/distrib/x68k/floppies/runlist.sh  Sun May 12 09:01:45 2002 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-#      $NetBSD: runlist.sh,v 1.2 1996/08/30 20:03:59 thorpej Exp $
-
-if [ "X$1" = "X-d" ]; then
-       SHELLCMD=cat
-       shift
-else
-       SHELLCMD="sh -e"
-fi
-
-( while [ "X$1" != "X" ]; do
-       cat $1
-       shift
-done ) | awk -f ${TOPDIR}/list2sh.awk | ${SHELLCMD}



Home | Main Index | Thread Index | Old Index