mirror of
https://github.com/MariaDB/server.git
synced 2025-01-23 23:34:34 +01:00
18 lines
324 B
Text
18 lines
324 B
Text
|
#! /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"
|