Last change
on this file since 641 was
613,
checked in by rybkin, 12 years ago
|
See C.L. 488
|
-
Property svn:executable set to
*
|
File size:
306 bytes
|
Line | |
---|
1 | if [ $# -eq 0 ]; then |
---|
2 | set setup.csh setup.sh |
---|
3 | fi |
---|
4 | |
---|
5 | xs=0 |
---|
6 | for 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; } |
---|
10 | done |
---|
11 | |
---|
12 | exit $xs |
---|
Note: See
TracBrowser
for help on using the repository browser.