summaryrefslogtreecommitdiffstats
path: root/tools/build
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-01-16 16:56:48 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-01-16 16:56:48 +0000
commit6f9c75c3222e99621dadd7c7d8499d76619a8a60 (patch)
treec8bc7a4f59c34f1e5667fb43d3203d4d00ea37c2 /tools/build
parentJennifer found some uninitialized variables: (diff)
downloadrtems-6f9c75c3222e99621dadd7c7d8499d76619a8a60.tar.bz2
Ralf Corsepius reported a number of missing CVS Id's:
> RTEMS is under CVS control and has been since rtems 3.1.16 which was > around May 1995. So I just to add the $Id$. If you notice other files > with missing $Id$'s let me know. I try to keep w\up with it. Now that you have asked -- I'll attach a list of files lacking an RCS-Id to this mail. This list has been generated by a little sh-script I'll also enclose.
Diffstat (limited to '')
-rw-r--r--tools/build/scripts/Makefile.in3
-rw-r--r--tools/build/scripts/search-id.sh15
-rwxr-xr-xtools/build/search-id.sh15
3 files changed, 32 insertions, 1 deletions
diff --git a/tools/build/scripts/Makefile.in b/tools/build/scripts/Makefile.in
index b9446a55ff..42ee76837d 100644
--- a/tools/build/scripts/Makefile.in
+++ b/tools/build/scripts/Makefile.in
@@ -19,7 +19,8 @@ include $(RTEMS_ROOT)/make/leaf.cfg
DESTDIR=$(PROJECT_RELEASE)/build-tools
-PGMS=install-if-change rcs-clean lock-directory unlock-directory rtems-glom
+PGMS=install-if-change rcs-clean lock-directory unlock-directory rtems-glom search-id.sh
+
INSTALLED=$(PGMS:%=$(DESTDIR)/%)
diff --git a/tools/build/scripts/search-id.sh b/tools/build/scripts/search-id.sh
new file mode 100644
index 0000000000..a94d2d7cc9
--- /dev/null
+++ b/tools/build/scripts/search-id.sh
@@ -0,0 +1,15 @@
+#!/bin/sh
+#
+# $Id$
+#
+
+find $1 -type f -a ! -name "*.scn" -a ! -name "bsp_specs" -a \
+ -print > /tmp/$$.0
+find $1 -type f -a ! -name "*.scn" -a ! -name "bsp_specs" -a \
+ -exec grep -l '$Id' {} \; > /tmp/$$.1
+
+diff /tmp/$$.0 /tmp/$$.1 > /tmp/$$.2
+
+grep "<" /tmp/$$.2 | sed 's/< //' >&1
+
+rm -f /tmp/$$*
diff --git a/tools/build/search-id.sh b/tools/build/search-id.sh
new file mode 100755
index 0000000000..a94d2d7cc9
--- /dev/null
+++ b/tools/build/search-id.sh
@@ -0,0 +1,15 @@
+#!/bin/sh
+#
+# $Id$
+#
+
+find $1 -type f -a ! -name "*.scn" -a ! -name "bsp_specs" -a \
+ -print > /tmp/$$.0
+find $1 -type f -a ! -name "*.scn" -a ! -name "bsp_specs" -a \
+ -exec grep -l '$Id' {} \; > /tmp/$$.1
+
+diff /tmp/$$.0 /tmp/$$.1 > /tmp/$$.2
+
+grep "<" /tmp/$$.2 | sed 's/< //' >&1
+
+rm -f /tmp/$$*