mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-21 08:29:39 +08:00
Improve symlink handling for C tags file.
This commit is contained in:
parent
d12be5c37b
commit
2042daf5c3
@ -14,5 +14,5 @@ sort tags >/tmp/$$ && mv /tmp/$$ tags
|
||||
|
||||
find . -name 'CVS' -prune -o -type d -print |while read DIR
|
||||
do
|
||||
[ "$DIR" != "." ] && ln -f -s `pwd`/tags $DIR/tags
|
||||
[ "$DIR" != "." ] && ln -f -s `echo "$DIR" | sed 's;/[^/]*;/..;g'`/tags $DIR/tags
|
||||
done
|
||||
|
@ -5,5 +5,5 @@ mkid `find \`pwd\`/ \( -name _deadcode -a -prune \) -o \
|
||||
|
||||
find . -name 'CVS' -prune -o -type d -print |while read DIR
|
||||
do
|
||||
[ "$DIR" != "." ] && ln -f -s `pwd`/ID $DIR/ID
|
||||
[ "$DIR" != "." ] && ln -f -s `echo "$DIR" | sed 's;/[^/]*;/..;g'`/ID $DIR/ID
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user