Skip to content

Commit 2ac64db

Browse files
committed
Prevent CVS from mangling script
1 parent 3f850cb commit 2ac64db

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/tools/add_cvs_markers

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh
22

3-
# $PostgreSQL: pgsql/src/tools/add_cvs_markers,v 1.1 2008/06/15 21:46:02 adunstan Exp $
3+
# $PostgreSQL: pgsql/src/tools/add_cvs_markers,v 1.2 2008/06/15 21:58:55 adunstan Exp $
44

55
# Author: Andrew Dunstan
66

@@ -36,15 +36,15 @@ find . \( \( -name 'libstemmer' -o -name 'expected' -o -name 'ppport.h' \
3636
{ while read file ; do
3737
head -n 1 < $file | grep -q '^/\*' && echo $file
3838
done ; echo dummy ;} | \
39-
xargs -l sed -i -e '1s/^\// /' -e '1i/*\n * $PostgreSQL: pgsql/src/tools/add_cvs_markers,v 1.1 2008/06/15 21:46:02 adunstan Exp $ \n *'
39+
xargs -l sed -i -e '1s/^\// /' -e '1i/*\n * \x24PostgreSQL:$ \n *'
4040

4141
# now all the rest (i.e. the files that don't start with a comment)
4242

4343
{ find . \( \( -name 'libstemmer' -o -name 'expected' -o -name 'ppport.h' \
4444
-o -name 'regression.h' -o -name 'sql3types.h' -o -name 'sqlca.h' \) \
4545
-prune \) -o \( -name '*.[ch]' \) \( -exec grep -q '\$PostgreSQL' {} \; \
4646
-o -print \) ; echo dummy ;} | \
47-
xargs -l sed -i -e '1i/*\n * $PostgreSQL: pgsql/src/tools/add_cvs_markers,v 1.1 2008/06/15 21:46:02 adunstan Exp $ \n */'
47+
xargs -l sed -i -e '1i/*\n * \x24PostgreSQL:$ \n */'
4848

4949
rm -f dummy
5050

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy