mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
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:
parent
3a180033d4
commit
005eafcf1b
1 changed files with 10 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue