mirror of
https://github.com/postgres/postgres.git
synced 2025-08-12 15:23:02 +03:00
Improve symlink handling for C tags file.
This commit is contained in:
@@ -14,5 +14,5 @@ sort tags >/tmp/$$ && mv /tmp/$$ tags
|
|||||||
|
|
||||||
find . -name 'CVS' -prune -o -type d -print |while read DIR
|
find . -name 'CVS' -prune -o -type d -print |while read DIR
|
||||||
do
|
do
|
||||||
[ "$DIR" != "." ] && ln -f -s `pwd`/tags $DIR/tags
|
[ "$DIR" != "." ] && ln -f -s `echo "$DIR" | sed 's;/[^/]*;/..;g'`/tags $DIR/tags
|
||||||
done
|
done
|
||||||
|
@@ -5,5 +5,5 @@ mkid `find \`pwd\`/ \( -name _deadcode -a -prune \) -o \
|
|||||||
|
|
||||||
find . -name 'CVS' -prune -o -type d -print |while read DIR
|
find . -name 'CVS' -prune -o -type d -print |while read DIR
|
||||||
do
|
do
|
||||||
[ "$DIR" != "." ] && ln -f -s `pwd`/ID $DIR/ID
|
[ "$DIR" != "." ] && ln -f -s `echo "$DIR" | sed 's;/[^/]*;/..;g'`/ID $DIR/ID
|
||||||
done
|
done
|
||||||
|
Reference in New Issue
Block a user