mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 12:32:27 +01:00
6386c55cee
BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted
17 lines
324 B
Bash
Executable file
17 lines
324 B
Bash
Executable file
#! /bin/sh
|
|
|
|
# change all CVS/Root to current CVSROOT
|
|
|
|
[ "$CVSROOT" ] || { echo "no CVSROOT in environment" >&2; exit 1; }
|
|
|
|
echo "changing all CVS/Root files under `pwd`"
|
|
sleep 1
|
|
|
|
find . -path '*/CVS/Root' -print |
|
|
while read file; do
|
|
echo "$file"
|
|
chmod +w $file || exit 1
|
|
echo $CVSROOT >$file || exit 1
|
|
done
|
|
|
|
echo "done"
|