source: CMT/v1r26p20160527/mgr/cmt_afs_readonly.sh

Last change on this file was 613, checked in by rybkin, 12 years ago

See C.L. 488

  • Property svn:executable set to *
File size: 306 bytes
Line 
1if [ $# -eq 0 ]; then
2  set setup.csh setup.sh
3fi
4
5xs=0
6for f; do
7  grep '/afs/\.' "$f">/dev/null || { [ $? -eq 1 ] || xs=`expr $xs + 1`; continue; }
8  sed 's,/afs/\.,/afs/,g' "$f" >"${f}.new" || { xs=`expr $xs + 1`; continue; }
9  mv -f "${f}.new" "${f}" || { xs=`expr $xs + 1`; continue; }
10done
11
12exit $xs
Note: See TracBrowser for help on using the repository browser.