Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] View of /admin/stat-all.sh
ViewVC logotype

View of /admin/stat-all.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4466 - (download) (as text) (annotate)
Fri Oct 13 14:02:53 2017 UTC (20 months, 1 week ago) by jhr
File size: 655 byte(s)
  revised the stat-all.sh script to take an optional "-q" option.
  Removed the capability of specifying the path to the root directory.
#!/bin/sh
#
# COPYRIGHT (c) 2017 The Fellowship of SML/NJ (http://www.smlnj.org)
# All rights reserved.
#
# Script to check the svn status of the various working copies
#
# Usage:	admin/stat-all.sh [-q]
#

QUIET=""
if [ $# -gt 2 ] ; then
  usage
elif [ x"$1" = "x-q" ] ; then
  QUIET=-q
elif [ $# -eq 1 ] ; then
  usage
fi

here=`pwd`

for tree in admin config base smlnj-lib MLRISC ml-yacc trace-debug-profile pgraph \
            ckit cml eXene smlnj-c ml-burg ml-lex heap2asm nlffi \
	    ml-lpt doc asdl smldoc
do
  if [ -d $tree -a -d $tree/.svn ] ; then
      echo Checking ${tree}...
      cd $tree
      svn status $QUIET
      cd $here
  fi
done

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0