purge-stale-projects.sh: Handle btools and dspider shared

btools and dspider shared have been moved to git. This commit makes
purge-stale-projects.sh remove the CVS debris and links. Needs to be fetched
before it can work, so make pull will have to run twice in the projects dir. To
be removed after all work trees are in sync.

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2019-06-19 07:39:08 +00:00
commit 005eafcf1b

View file

@ -90,6 +90,16 @@ for p in $purged; do
sed -i "/D\/$p\/\/\/\// d" CVS/Entries
done
if [ -d dspc/src/CVS ]; then
for i in shared; do
sed -i "/D\/$i\/\/\/\// d" dspc/src/CVS/Entries
done
fi
for i in dspider-btools dspider-shared; do
[ -L "$i" ] && rm $i
done
for p in $local_git_proj; do
[ -L $p ] && continue
[ -d $p ] || continue